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
FieldsFields inherited from class javassist.bytecode.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 javassist.bytecode.SignatureAttribute.ClassType
encode, encode2, getName, getTypeArguments, jvmTypeName, make, toString
Methods inherited from class javassist.bytecode.SignatureAttribute.ObjectType
encode
Methods inherited from class javassist.bytecode.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:
getDeclaringClass
in classSignatureAttribute.ClassType
- Returns:
- null if this class is not a member of another class.
-