Class StructTypes.JfrJavaClass
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.internal.parser.v1.StructTypes.JfrJavaClass
-
- All Implemented Interfaces:
IMCType
- Enclosing class:
- StructTypes
static class StructTypes.JfrJavaClass extends java.lang.Object implements IMCType
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Object_packagejava.lang.ObjectclassLoaderprivate booleanconvertedNamesjava.lang.Objectmodifiersjava.lang.Objectnameprivate java.lang.StringtypeName
-
Constructor Summary
Constructors Constructor Description JfrJavaClass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidconvertNames()booleanequals(java.lang.Object obj)java.lang.StringgetFullName()Java type name according to The Java Language Specification, Section 13.1.IMCPackagegetPackage()Returns the package this type was declared in.private java.lang.StringgetPackageName()java.lang.StringgetTypeName()Returns the name of the type, without the package.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getTypeName
public java.lang.String getTypeName()
Description copied from interface:IMCTypeReturns the name of the type, without the package.Examples are "String" and "Tread$TreadState".
- Specified by:
getTypeNamein interfaceIMCType- Returns:
- the type name
-
getPackageName
private java.lang.String getPackageName()
-
getPackage
public IMCPackage getPackage()
Description copied from interface:IMCTypeReturns the package this type was declared in.- Specified by:
getPackagein interfaceIMCType- Returns:
- declaring package
-
getFullName
public java.lang.String getFullName()
Description copied from interface:IMCTypeJava type name according to The Java Language Specification, Section 13.1.An example is "java.lang.String".
- Specified by:
getFullNamein interfaceIMCType- Returns:
- the fully qualified name (both package and type name)
-
convertNames
private void convertNames()
-
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
-
-