Package org.openjdk.jmc.common.util
Class MCType
- java.lang.Object
-
- org.openjdk.jmc.common.util.MCType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getFullName()
Java type name according to The Java Language Specification, Section 13.1.IMCPackage
getPackage()
Returns the package this type was declared in.String
getTypeName()
Returns the name of the type, without the package.int
hashCode()
String
toString()
-
-
-
Method Detail
-
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
-
getTypeName
public final 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
-
getFullName
public final 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)
-
-