Class StructTypes.JfrJavaPackage
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.internal.parser.v1.StructTypes.JfrJavaPackage
-
- All Implemented Interfaces:
IDescribable,IMCPackage
- Enclosing class:
- StructTypes
static class StructTypes.JfrJavaPackage extends java.lang.Object implements IMCPackage, IDescribable
-
-
Field Summary
Fields Modifier and Type Field Description private booleanconvertedNamejava.lang.Objectexportedjava.lang.Objectmodulejava.lang.Objectname
-
Constructor Summary
Constructors Constructor Description JfrJavaPackage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetDescription()IMCModulegetModule()java.lang.StringgetName()Returns the package name.inthashCode()java.lang.BooleanisExported()java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:IMCPackageReturns the package name.An example is "java.lang".
- Specified by:
getNamein interfaceIDescribable- Specified by:
getNamein interfaceIMCPackage- Returns:
- package name
-
getModule
public IMCModule getModule()
- Specified by:
getModulein interfaceIMCPackage- Returns:
- the module in which this package resides, or null if it's in a pre-modules environment
-
isExported
public java.lang.Boolean isExported()
- Specified by:
isExportedin interfaceIMCPackage- Returns:
trueif the package is exported from it's module, or if it's in a pre modules environment,falseotherwise
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceIDescribable- Returns:
- the description of this object
-
-