You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Ernie Rael (Jira)" <ji...@apache.org> on 2020/09/02 17:11:00 UTC
[jira] [Created] (NETBEANS-4765) module-info utilities for common
usage
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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists