Package org.openjdk.jmc.common
Interface IMCPackage
- All Known Implementing Classes:
MCPackage
public interface IMCPackage
Represents a Java package.
-
Method Summary
-
Method Details
-
getName
String getName()Returns the package name.An example is "java.lang".
- Returns:
- package name
-
getModule
IMCModule getModule()- Returns:
- the module in which this package resides, or null if it's in a pre-modules environment
-
isExported
Boolean isExported()- Returns:
true
if the package is exported from it's module, or if it's in a pre modules environment,false
otherwise
-