Community
Participate
Working Groups
I20080923-0800 Content Assist could show the default value for annotation type member references, or just indicate which members have a default. E.g. when I do content assist in the argument list of "@Generated()", it would be interesting to see which members are required.
David, could this be provided by JDT Core?
Discussed with David. Would better fit into JDT Core land.
Core infrastructure is available now. In BETA_JAVA8, we already decorate an annotation method element with a "D" if a default value is defined. What's missing is the rendering of the default value (IMethod#getDefaultValue()) in the Javadoc hover (similar to what javadoc.exe does). javax.xml.bind.annotation.XmlType has more interesting defaults.