com.ibm.wala.types.generics
Class MethodTypeSignature

java.lang.Object
  extended by com.ibm.wala.types.generics.Signature
      extended by com.ibm.wala.types.generics.MethodTypeSignature

public class MethodTypeSignature
extends Signature

UNDER CONSTRUCTION. MethodTypeSignature: FormalTypeParameters? (TypeSignature*) ReturnType ThrowsSignature* ReturnType: TypeSignature


Method Summary
 TypeSignature[] getArguments()
           
static TypeSignature[] getArguments(IMethod method)
           
 FormalTypeParameter[] getFormalTypeParameters()
           
static MethodTypeSignature getMethodTypeSignature(IMethod method)
           
 TypeSignature getReturnType()
           
static MethodTypeSignature make(java.lang.String genericsSignature)
           
 
Methods inherited from class com.ibm.wala.types.generics.Signature
equals, hashCode, rawString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

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