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 boolean
convertedName
java.lang.Object
exported
java.lang.Object
module
java.lang.Object
name
-
Constructor Summary
Constructors Constructor Description JfrJavaPackage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getDescription()
IMCModule
getModule()
java.lang.String
getName()
Returns the package name.int
hashCode()
java.lang.Boolean
isExported()
java.lang.String
toString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:IMCPackage
Returns the package name.An example is "java.lang".
- Specified by:
getName
in interfaceIDescribable
- Specified by:
getName
in interfaceIMCPackage
- Returns:
- package name
-
getModule
public IMCModule getModule()
- Specified by:
getModule
in 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:
isExported
in interfaceIMCPackage
- Returns:
true
if the package is exported from it's module, or if it's in a pre modules environment,false
otherwise
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceIDescribable
- Returns:
- the description of this object
-
-