Package org.openjdk.jmc.common
Interface IMCPackage
-
- All Known Implementing Classes:
MCPackage
,StructTypes.JfrJavaPackage
public interface IMCPackage
Represents a Java package.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IMCModule
getModule()
java.lang.String
getName()
Returns the package name.java.lang.Boolean
isExported()
-
-
-
Method Detail
-
getName
java.lang.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
java.lang.Boolean isExported()
- Returns:
true
if the package is exported from it's module, or if it's in a pre modules environment,false
otherwise
-
-