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(java.lang.String className)
Constructs a
ClassType. |
ClassType(java.lang.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.
|
java.lang.String |
getName()
Returns the class name.
|
SignatureAttribute.TypeArgument[] |
getTypeArguments()
Returns the type arguments.
|
java.lang.String |
jvmTypeName()
Returns the type name in the JVM internal style.
|
java.lang.String |
toString()
Returns the string representation.
|
encodepublic static SignatureAttribute.ClassType OBJECT
java.lang.Object.public ClassType(java.lang.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(java.lang.String className)
ClassType. It represents
the name of a non-nested class.className - a fully qualified class name.public java.lang.String getName()
public SignatureAttribute.TypeArgument[] getTypeArguments()
public SignatureAttribute.ClassType getDeclaringClass()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String jvmTypeName()
foo.Bar.Baz,
then foo.Bar$Baz is returned.jvmTypeName in class SignatureAttribute.TypeJavassist, a Java-bytecode translator toolkit.
Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.