com.ibm.wala.types.generics
Class MethodTypeSignature
java.lang.Object
com.ibm.wala.types.generics.Signature
com.ibm.wala.types.generics.MethodTypeSignature
public class MethodTypeSignature
- extends Signature
UNDER CONSTRUCTION.
MethodTypeSignature:
FormalTypeParameters? (TypeSignature*) ReturnType ThrowsSignature*
ReturnType:
TypeSignature
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
make
public static MethodTypeSignature make(java.lang.String genericsSignature)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
getArguments
public TypeSignature[] getArguments()
- Returns:
- null if no arguments
getReturnType
public TypeSignature getReturnType()
getFormalTypeParameters
public FormalTypeParameter[] getFormalTypeParameters()
getArguments
public static TypeSignature[] getArguments(IMethod method)
throws InvalidClassFileException
- Throws:
InvalidClassFileException
getMethodTypeSignature
public static MethodTypeSignature getMethodTypeSignature(IMethod method)
throws InvalidClassFileException
- Throws:
InvalidClassFileException