Package javassist.bytecode
Class SignatureAttribute.ClassSignature
java.lang.Object
javassist.bytecode.SignatureAttribute.ClassSignature
- Enclosing class:
SignatureAttribute
Class signature.
-
Constructor Summary
ConstructorDescriptionConstructs a class signature.ClassSignature
(SignatureAttribute.TypeParameter[] params, SignatureAttribute.ClassType superClass, SignatureAttribute.ClassType[] interfaces) Constructs a class signature. -
Method Summary
-
Constructor Details
-
ClassSignature
public ClassSignature(SignatureAttribute.TypeParameter[] params, SignatureAttribute.ClassType superClass, SignatureAttribute.ClassType[] interfaces) Constructs a class signature.- Parameters:
params
- type parameters.superClass
- the super class.interfaces
- the interface types.
-
ClassSignature
Constructs a class signature.- Parameters:
p
- type parameters.
-
-
Method Details
-
getParameters
Returns the type parameters.- Returns:
- a zero-length array if the type parameters are not specified.
-
getSuperClass
Returns the super class. -
getInterfaces
Returns the super interfaces.- Returns:
- a zero-length array if the super interfaces are not specified.
-
toString
Returns the string representation. -
encode
Returns the encoded string representing the method type signature.
-