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:17:00 UTC

[jira] [Commented] (NETBEANS-4765) module-info utilities for common usage

    [ https://issues.apache.org/jira/browse/NETBEANS-4765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17189566#comment-17189566 ] 

Ernie Rael commented on NETBEANS-4765:
--------------------------------------

As well as NETBEANS-4718, NETBEANS-4764 which can use such a proposed api.

> 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-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