Package javassist.bytecode
Class SignatureAttribute.NestedClassType
java.lang.Object
javassist.bytecode.SignatureAttribute.Type
javassist.bytecode.SignatureAttribute.ObjectType
javassist.bytecode.SignatureAttribute.ClassType
javassist.bytecode.SignatureAttribute.NestedClassType
- Enclosing class:
SignatureAttribute
Nested class types.
-
Field Summary
Fields inherited from class javassist.bytecode.SignatureAttribute.ClassType
OBJECT
-
Constructor Summary
ConstructorDescriptionNestedClassType
(SignatureAttribute.ClassType parent, String className, SignatureAttribute.TypeArgument[] args) Constructs aNestedClassType
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the class that declares this nested class.Methods inherited from class javassist.bytecode.SignatureAttribute.ClassType
getName, getTypeArguments, jvmTypeName, toString
Methods inherited from class javassist.bytecode.SignatureAttribute.ObjectType
encode
-
Constructor Details
-
NestedClassType
public NestedClassType(SignatureAttribute.ClassType parent, String className, SignatureAttribute.TypeArgument[] args) Constructs aNestedClassType
.- Parameters:
parent
- the class surrounding this class type.className
- a simple class name. It does not include a package name or a parent's class name.args
- type parameters or null.
-
-
Method Details
-
getDeclaringClass
Returns the class that declares this nested class. This nested class is a member of that declaring class.- Overrides:
getDeclaringClass
in classSignatureAttribute.ClassType
- Returns:
- null if this class is not a member of another class.
-