jtulach commented on code in PR #9543:
URL: https://github.com/apache/netbeans/pull/9543#discussion_r3734638008
##########
java/java.source.base/src/org/netbeans/api/java/source/CompilationInfo.java:
##########
@@ -493,6 +493,15 @@ ModuleElement getModule() {
}
}
+ /**
+ * TODO.
+ * only valid after toPhase(ELEMENTS_RESOLVED)
+ * @return
+ */
+ public ClassIndex getClassIndex() {
Review Comment:
Maybe add an `assert` to avoid calling this when the status isn't in the
right phase?
--
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