Package 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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeSignature[]
getArguments()
static TypeSignature[]
getArguments(IMethod method)
FormalTypeParameter[]
getFormalTypeParameters()
static MethodTypeSignature
getMethodTypeSignature(IMethod method)
TypeSignature
getReturnType()
static MethodTypeSignature
make(String genericsSignature)
-
-
-
Method Detail
-
make
public static MethodTypeSignature make(String genericsSignature) throws IllegalArgumentException
- Throws:
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
- Returns:
TypeSignature
for arguments, which includes information about generic types- Throws:
InvalidClassFileException
-
getMethodTypeSignature
public static MethodTypeSignature getMethodTypeSignature(IMethod method) throws InvalidClassFileException
- Throws:
InvalidClassFileException
-
-