public class Signature extends AttributeInfo
WARNING: This code is a complete mess.
| Constructor and Description |
|---|
Signature(ClassFile cf,
java.lang.String signature) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getClassParamTypes()
Returns the class-param types of this method.
|
java.util.List<java.lang.String> |
getMethodParamTypes(MethodInfo mi,
ClassFile cf,
boolean qualified)
Returns the parameter types for parameters of this method.
|
java.lang.String |
getMethodReturnType(MethodInfo mi,
ClassFile cf,
boolean qualified)
Returns the return type of this method.
|
java.lang.String |
getSignature() |
java.lang.String |
toString() |
getClassFile, getName, readUnsupportedAttributepublic Signature(ClassFile cf, java.lang.String signature)
public java.util.List<java.lang.String> getClassParamTypes()
public java.util.List<java.lang.String> getMethodParamTypes(MethodInfo mi, ClassFile cf, boolean qualified)
mi - The method information.cf - The class file being parsed.qualified - Whether the results should be fully-qualified.public java.lang.String getMethodReturnType(MethodInfo mi, ClassFile cf, boolean qualified)
mi - The method information.cf - The class file being parsed.qualified - Whether the result should be fully-qualified.public java.lang.String getSignature()
public java.lang.String toString()
toString in class java.lang.Object