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
FieldsFields inherited from class SignatureAttribute.ClassType
arguments, name, OBJECT -
Constructor Summary
ConstructorsConstructorDescriptionNestedClassType(String s, int b, int e, SignatureAttribute.TypeArgument[] targs, SignatureAttribute.ClassType p) NestedClassType(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 SignatureAttribute.ClassType
encode, encode2, getName, getTypeArguments, jvmTypeName, make, toStringMethods inherited from class SignatureAttribute.ObjectType
encodeMethods inherited from class SignatureAttribute.Type
toString
-
Field Details
-
parent
SignatureAttribute.ClassType parent
-
-
Constructor Details
-
NestedClassType
NestedClassType(String s, int b, int e, SignatureAttribute.TypeArgument[] targs, SignatureAttribute.ClassType p) -
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:
getDeclaringClassin classSignatureAttribute.ClassType- Returns:
- null if this class is not a member of another class.
-