Class StructTypes.JfrJavaModule
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.internal.parser.v1.StructTypes.JfrJavaModule
-
- All Implemented Interfaces:
IDescribable
,IMCModule
- Enclosing class:
- StructTypes
static class StructTypes.JfrJavaModule extends java.lang.Object implements IMCModule, IDescribable
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Object
classLoader
java.lang.Object
location
java.lang.Object
name
java.lang.Object
version
-
Constructor Summary
Constructors Constructor Description JfrJavaModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
IMCClassLoader
getClassLoader()
Returns the class loader where this module is loaded.java.lang.String
getDescription()
java.lang.String
getLocation()
Returns the location of this module.java.lang.String
getName()
Returns the module name.java.lang.String
getVersion()
Returns the version of this module.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:IMCModule
Returns the module name.An example is "java.base".
- Specified by:
getName
in interfaceIDescribable
- Specified by:
getName
in interfaceIMCModule
- Returns:
- module name
-
getVersion
public java.lang.String getVersion()
Description copied from interface:IMCModule
Returns the version of this module.An example is "9".
- Specified by:
getVersion
in interfaceIMCModule
- Returns:
- module version
-
getLocation
public java.lang.String getLocation()
Description copied from interface:IMCModule
Returns the location of this module.An example is "jrt:/java.base".
- Specified by:
getLocation
in interfaceIMCModule
- Returns:
- module location
-
getClassLoader
public IMCClassLoader getClassLoader()
Description copied from interface:IMCModule
Returns the class loader where this module is loaded.- Specified by:
getClassLoader
in interfaceIMCModule
- Returns:
- module class loader
-
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
-
-