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.ObjectclassLoaderjava.lang.Objectlocationjava.lang.Objectnamejava.lang.Objectversion
-
Constructor Summary
Constructors Constructor Description JfrJavaModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)IMCClassLoadergetClassLoader()Returns the class loader where this module is loaded.java.lang.StringgetDescription()java.lang.StringgetLocation()Returns the location of this module.java.lang.StringgetName()Returns the module name.java.lang.StringgetVersion()Returns the version of this module.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:IMCModuleReturns the module name.An example is "java.base".
- Specified by:
getNamein interfaceIDescribable- Specified by:
getNamein interfaceIMCModule- Returns:
- module name
-
getVersion
public java.lang.String getVersion()
Description copied from interface:IMCModuleReturns the version of this module.An example is "9".
- Specified by:
getVersionin interfaceIMCModule- Returns:
- module version
-
getLocation
public java.lang.String getLocation()
Description copied from interface:IMCModuleReturns the location of this module.An example is "jrt:/java.base".
- Specified by:
getLocationin interfaceIMCModule- Returns:
- module location
-
getClassLoader
public IMCClassLoader getClassLoader()
Description copied from interface:IMCModuleReturns the class loader where this module is loaded.- Specified by:
getClassLoaderin interfaceIMCModule- Returns:
- module class loader
-
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
-
-