[ https://issues.apache.org/jira/browse/NETBEANS-4765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17193999#comment-17193999 ]
Jaroslav Tulach edited comment on NETBEANS-4765 at 9/11/20, 5:40 AM: --------------------------------------------------------------------- Right, you can only eliminate the duplicities by introducing an API, CCing Tomáš Zezula. was (Author: jtulach): Right you can only eliminate the duplicities by introducing an API, CCing Tomáš Zezula. > module-info utilities for common usage > -------------------------------------- > > Key: NETBEANS-4765 > URL: https://issues.apache.org/jira/browse/NETBEANS-4765 > Project: NetBeans > Issue Type: Improvement > Components: java - Platform > Reporter: Ernie Rael > Priority: Major > > The only common api I've seen for working with module-info is > {code:java} > org.netbeans.api.java.source.SourceUtils{.parseModuleName,.getModuleName*} > {code} > There are several other things that need to be done with module-info. For > example, adding a package for fxml access, or for refactoring when moving an > exported java class to a different package. > There are module-info utilities scattered throughout the netbeans codebase. > For example > {code:java} > ./maven/src/org/netbeans/modules/maven/api/ModuleInfoUtils.java > ./maven/src/org/netbeans/modules/maven/ModuleInfoSupport.java > {code} > and there's a pending fix for NETBEANS-4718 which adds a local > "hasModuleInfo". > And notice sitting in .../netbeans/java there are 64 files given by > {code} > srcgrep -l module-info | grep -E -v '/test/|/build/' > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists