Java EditorJDK7

(Difference between revisions)
(JDK7 Support in NetBeans IDE)
(JDK7 Support)
Line 11: Line 11:
* java.util.Objects:
* java.util.Objects:
** equals and hashcode generator (Alt-Insert, "equals() and hashCode()") uses j.u.Objects.equals/hashCode if available
** equals and hashcode generator (Alt-Insert, "equals() and hashCode()") uses j.u.Objects.equals/hashCode if available
 +
* JSR 292
 +
** exotic identifiers supported in semantic highlighting, mark occurrences and Go to Declaration

Revision as of 19:21, 11 November 2009

JDK7 Support

A build with experimental JDK7 support can be downloaded here. The build currently provides these JDK7-related features:

  • strings in switch:
    • code completion updated
    • hint converting a cascade of if-elses to switch
  • diamond operator (new LinkedList<>()):
    • warning when the diamond operator is not used and could be, includes fix to remove the superfluous bounds
    • tooltip in hyperlink (Ctrl-point to the identifier) shows inferred bounds
  • java.util.Objects:
    • equals and hashcode generator (Alt-Insert, "equals() and hashCode()") uses j.u.Objects.equals/hashCode if available
  • JSR 292
    • exotic identifiers supported in semantic highlighting, mark occurrences and Go to Declaration
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo