Class TypeSignature
java.lang.Object
com.ibm.wala.types.generics.Signature
com.ibm.wala.types.generics.TypeSignature
- Direct Known Subclasses:
ArrayTypeSignature, BaseType, ClassTypeSignature, TypeVariableSignature
UNDER CONSTRUCTION.
TypeSignature: FieldTypeSignature BaseType (code for a primitive) FieldTypeSignature: ClassTypeSignature ArrayTypeSignature TypeVariableSignature TypeVariableSignature: T identifier ;
- Author:
- sjfink
-
Method Summary
Modifier and TypeMethodDescriptionabstract booleanabstract booleanabstract booleanabstract booleanstatic TypeSignaturestatic String[]parseForTypeSignatures(String typeSigs) Split a string of consecutive type signatures (TypeSignature*) into its top-level type signatures.
-
Method Details
-
make
- Throws:
IllegalArgumentException
-
isTypeVariable
public abstract boolean isTypeVariable() -
isClassTypeSignature
public abstract boolean isClassTypeSignature() -
isArrayTypeSignature
public abstract boolean isArrayTypeSignature() -
isBaseType
public abstract boolean isBaseType() -
parseForTypeSignatures
Split a string of consecutive type signatures (TypeSignature*) into its top-level type signatures. The string should start with either(or<and have a respective matching)or>.- Parameters:
typeSigs- a string of consecutive type signatures- Returns:
- an array of top-level type signatures
- Throws:
IllegalArgumentException
-