Class FormalTypeParameter
java.lang.Object
com.ibm.wala.types.generics.Signature
com.ibm.wala.types.generics.FormalTypeParameter
Under construction.
FormalTypeParameter: Identifier ClassBound InterfaceBound*
ClassBound: : FieldTypeSignature?
InterfaceBound : FieldTypeSignature
FieldTypeSignature: ClassTypeSignature ArrayTypeSignature TypeVariableSignature
-
Method Summary
Modifier and TypeMethodDescriptionstatic FormalTypeParameter[]
getTypeParameters
(IClass klass) static FormalTypeParameter[]
getTypeParameters
(IMethod method) static FormalTypeParameter
-
Method Details
-
make
- Throws:
IllegalArgumentException
-
getClassBound
-
getIdentifier
-
getInterfaceBounds
-
getTypeParameters
public static FormalTypeParameter[] getTypeParameters(IClass klass) throws InvalidClassFileException - Returns:
- the formal type parameters, or null if none
- Throws:
InvalidClassFileException
-
getTypeParameters
public static FormalTypeParameter[] getTypeParameters(IMethod method) throws InvalidClassFileException - Throws:
InvalidClassFileException
-