public static class SignatureAttribute.ClassType extends SignatureAttribute.ObjectType
| Modifier and Type | Field and Description |
|---|---|
static SignatureAttribute.ClassType |
OBJECT
A class type representing
java.lang.Object. |
| Constructor and Description |
|---|
ClassType(String className)
Constructs a
ClassType. |
ClassType(String className,
SignatureAttribute.TypeArgument[] args)
Constructs a
ClassType. |
| Modifier and Type | Method and Description |
|---|---|
SignatureAttribute.ClassType |
getDeclaringClass()
If this class is a member of another class, returns the
class in which this class is declared.
|
String |
getName()
Returns the class name.
|
SignatureAttribute.TypeArgument[] |
getTypeArguments()
Returns the type arguments.
|
String |
jvmTypeName()
Returns the type name in the JVM internal style.
|
String |
toString()
Returns the string representation.
|
encodepublic static SignatureAttribute.ClassType OBJECT
java.lang.Object.public ClassType(String className, SignatureAttribute.TypeArgument[] args)
ClassType. It represents
the name of a non-nested class.className - a fully qualified class name.args - type arguments or null.public ClassType(String className)
ClassType. It represents
the name of a non-nested class.className - a fully qualified class name.public String getName()
public SignatureAttribute.TypeArgument[] getTypeArguments()
public SignatureAttribute.ClassType getDeclaringClass()
public String toString()
public String jvmTypeName()
foo.Bar.Baz,
then foo.Bar$Baz is returned.jvmTypeName in class SignatureAttribute.TypeCopyright © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.