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 |
toString()
Returns the string representation.
|
encode
public 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()
Copyright © 2019. All rights reserved.