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 booleanequals(Object obj)StringgetFullName()Java type name according to The Java Language Specification, Section 13.1.IMCPackagegetPackage()Returns the package this type was declared in.StringgetTypeName()Returns the name of the type, without the package.inthashCode()StringtoString()
-
-
-
Method Detail
-
getPackage
public IMCPackage getPackage()
Description copied from interface:IMCTypeReturns the package this type was declared in.- Specified by:
getPackagein interfaceIMCType- Returns:
- declaring package
-
getTypeName
public final 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
-
getFullName
public final 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)
-
-