public static class SignatureAttribute.ClassSignature
extends java.lang.Object
Constructor and Description |
---|
ClassSignature(SignatureAttribute.TypeParameter[] p)
Constructs a class signature.
|
ClassSignature(SignatureAttribute.TypeParameter[] params,
SignatureAttribute.ClassType superClass,
SignatureAttribute.ClassType[] interfaces)
Constructs a class signature.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
encode()
Returns the encoded string representing the method type signature.
|
SignatureAttribute.ClassType[] |
getInterfaces()
Returns the super interfaces.
|
SignatureAttribute.TypeParameter[] |
getParameters()
Returns the type parameters.
|
SignatureAttribute.ClassType |
getSuperClass()
Returns the super class.
|
java.lang.String |
toString()
Returns the string representation.
|
public ClassSignature(SignatureAttribute.TypeParameter[] params, SignatureAttribute.ClassType superClass, SignatureAttribute.ClassType[] interfaces)
params
- type parameters.superClass
- the super class.interfaces
- the interface types.public ClassSignature(SignatureAttribute.TypeParameter[] p)
p
- type parameters.public SignatureAttribute.TypeParameter[] getParameters()
public SignatureAttribute.ClassType getSuperClass()
public SignatureAttribute.ClassType[] getInterfaces()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String encode()
Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.