com.ibm.wala.types.generics
Class TypeVariableSignature
java.lang.Object
com.ibm.wala.types.generics.Signature
com.ibm.wala.types.generics.TypeSignature
com.ibm.wala.types.generics.TypeVariableSignature
public class TypeVariableSignature
- extends TypeSignature
TypeVariableSignature: T identifier ;
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
make
public static TypeVariableSignature make(java.lang.String s)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
isClassTypeSignature
public boolean isClassTypeSignature()
- Specified by:
isClassTypeSignature in class TypeSignature
isTypeVariable
public boolean isTypeVariable()
- Specified by:
isTypeVariable in class TypeSignature
isArrayTypeSignature
public boolean isArrayTypeSignature()
- Specified by:
isArrayTypeSignature in class TypeSignature
getIdentifier
public java.lang.String getIdentifier()
isBaseType
public boolean isBaseType()
- Specified by:
isBaseType in class TypeSignature
getTypeVariablePosition
public static int getTypeVariablePosition(TypeVariableSignature v,
ShrikeClass klass)
throws java.lang.IllegalArgumentException
- Parameters:
v - klass -
- Returns:
- -1 if there is no match
- Throws:
java.lang.IllegalArgumentException