JDK 1.8 / Java 8 (자바 8)의 새 기능 주요 기능 및 특징과 설명 New features #3
Category : core/lang
New and Key features / 새 기능과 주요 특징
1 Generalized Target-Type Inference
Smoothly expand the scope of method type-inference to support (i) inference in method context and (ii) inference in chained calls.
2 Annotations on Java Types
Extend the set of annotatable locations in the syntax of the Java programming language to include names which indicate the use of a type as well as (per Java SE 5.0) the declaration of a type.
3 DocTree API
Extend the Compiler Tree API to provide structured access to the content of javadoc comments.
4 Add Javadoc to javax.tools
Extend the javax.tools API to provide access to javadoc.
5 Remove the Annotation-Processing Tool (apt)
Remove the apt tool, associated API, and documentation from the JDK.
6 Access to Parameter Names at Runtime
Provide a mechanism to easily and reliably retrieve the parameter names of methods and constructors at runtime via core reflection.
7 Repeating Annotations
Change the Java programming language to allow multiple application of annotations with the same type to a single program element.
8 Enhance javac to Improve Build Speed
Reduce the time required to build the JDK and enable incremental builds by modifying the Java compiler to run on all available cores in a single persistent process, track package and class dependences between builds, automatically generate header files for native methods, and clean up class and header files that are no longer needed.
9 DocLint
Provide a means to detect errors in Javadoc comments early in the development cycle and in a way that is easily linked back to the source code.