singh-akhilesh commented on code in PR #1877:
URL: https://github.com/apache/netbeans/pull/1877#discussion_r908667458
##########
java/java.navigation/src/org/netbeans/modules/java/navigation/ElementScanningTask.java:
##########
@@ -358,7 +360,7 @@ private Description element2description(final Element e,
final Element parent,
} else if( e instanceof ExecutableElement ) {
d.htmlHeader = createHtmlHeader(info, (ExecutableElement)e,
info.getElements().isDeprecated(e),d.isInherited, fqn, overridenFrom);
} else if( e instanceof VariableElement ) {
- if( !(e.getKind() == ElementKind.FIELD || e.getKind() ==
ElementKind.ENUM_CONSTANT) )
+ if( !(e.getKind() == ElementKind.FIELD || e.getKind() ==
ElementKind.ENUM_CONSTANT || e.getKind().name().equals("STATE_COMPONENT")) )
Review Comment:
New PR raised for the changes https://github.com/apache/netbeans/pull/4293
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists