public static class SignatureAttribute.MethodSignature extends Object
| Constructor and Description | 
|---|
| MethodSignature(SignatureAttribute.TypeParameter[] tp,
               SignatureAttribute.Type[] params,
               SignatureAttribute.Type ret,
               SignatureAttribute.ObjectType[] ex)Constructs a method type signature. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | encode()Returns the encoded string representing the method type signature. | 
| SignatureAttribute.ObjectType[] | getExceptionTypes()Returns the types of the exceptions that may be thrown. | 
| SignatureAttribute.Type[] | getParameterTypes()Returns the types of the formal parameters. | 
| SignatureAttribute.Type | getReturnType()Returns the type of the returned value. | 
| SignatureAttribute.TypeParameter[] | getTypeParameters()Returns the formal type parameters. | 
| String | toString()Returns the string representation. | 
public MethodSignature(SignatureAttribute.TypeParameter[] tp, SignatureAttribute.Type[] params, SignatureAttribute.Type ret, SignatureAttribute.ObjectType[] ex)
void or nothing.tp - type parameters.params - parameter types.ret - a return type, or null if the return type is void.ex - exception types.public SignatureAttribute.TypeParameter[] getTypeParameters()
public SignatureAttribute.Type[] getParameterTypes()
public SignatureAttribute.Type getReturnType()
public SignatureAttribute.ObjectType[] getExceptionTypes()
public String toString()
public String encode()
Copyright © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.