Ernie Rael created NETBEANS-4765:
------------------------------------
Summary: 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
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-4591 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: [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