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
_package
java.lang.Object
classLoader
private boolean
convertedNames
java.lang.Object
modifiers
java.lang.Object
name
private java.lang.String
typeName
-
Constructor Summary
Constructors Constructor Description JfrJavaClass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
convertNames()
boolean
equals(java.lang.Object obj)
java.lang.String
getFullName()
Java type name according to The Java Language Specification, Section 13.1.IMCPackage
getPackage()
Returns the package this type was declared in.private java.lang.String
getPackageName()
java.lang.String
getTypeName()
Returns the name of the type, without the package.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getTypeName
public java.lang.String getTypeName()
Description copied from interface:IMCType
Returns the name of the type, without the package.Examples are "String" and "Tread$TreadState".
- Specified by:
getTypeName
in interfaceIMCType
- Returns:
- the type name
-
getPackageName
private java.lang.String getPackageName()
-
getPackage
public IMCPackage getPackage()
Description copied from interface:IMCType
Returns the package this type was declared in.- Specified by:
getPackage
in interfaceIMCType
- Returns:
- declaring package
-
getFullName
public java.lang.String getFullName()
Description copied from interface:IMCType
Java type name according to The Java Language Specification, Section 13.1.An example is "java.lang.String".
- Specified by:
getFullName
in interfaceIMCType
- Returns:
- the fully qualified name (both package and type name)
-
convertNames
private void convertNames()
-
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
-
-