Search

Reflection and annotation changes - java 1.8 features

With type annotations, annotations can be written in more places, such as generic type arguments like List<@Nullable String>. This enhances error detection by static analysis tools, which will strengthen and refine Java's built-in type system.

Annotations are allowed in more places, e.g. List<@Nullable String>. The biggest impact of this is likely to be for static analysis tools such as Sonar and FindBugs.


No comments:

Post a Comment