- 
    Enhancement 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    16
- 
    None
- 
        b18
                    javac knows if a module is an automatic module. We should expose that through the Elements class. 
For example:
public boolean isAutomaticModule(ModuleElement me) {
if (me == null) {
return false; // or throw NPE
} else {
ModuleSymbol msym = (ModuleSymbol) me;
return (msym.flags() & Flags.AUTOMATIC_MODULE) != 0;
}
}
For example:
public boolean isAutomaticModule(ModuleElement me) {
if (me == null) {
return false; // or throw NPE
} else {
ModuleSymbol msym = (ModuleSymbol) me;
return (msym.flags() & Flags.AUTOMATIC_MODULE) != 0;
}
}
- csr for
- 
                    JDK-8264865 Add `Elements.isAutomaticModule(ModuleElement)` -           
- Closed
 
-         
 
        