com.ibm.wala.types.generics
Class ClassTypeSignature

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

public class ClassTypeSignature
extends TypeSignature

Under construction. ClassTypeSignature: L PackageSpecifier* SimpleClassTypeSignature ClassTypeSignatureSuffix* ; SimpleClassTypeSignature: Identifier TypeArguments? TypeArguments:


Method Summary
 TypeName getRawName()
          Return the name of the raw type for this signature
 TypeArgument[] getTypeArguments()
           
 boolean isArrayTypeSignature()
           
 boolean isBaseType()
           
 boolean isClassTypeSignature()
           
 boolean isTypeVariable()
           
static IClass lookupClass(IClassHierarchy cha, ClassTypeSignature sig)
           
static ClassTypeSignature makeClassTypeSig(java.lang.String s)
           
 
Methods inherited from class com.ibm.wala.types.generics.TypeSignature
make
 
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

makeClassTypeSig

public static ClassTypeSignature makeClassTypeSig(java.lang.String s)
                                           throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

isTypeVariable

public boolean isTypeVariable()
Specified by:
isTypeVariable in class TypeSignature

isClassTypeSignature

public boolean isClassTypeSignature()
Specified by:
isClassTypeSignature in class TypeSignature

isArrayTypeSignature

public boolean isArrayTypeSignature()
Specified by:
isArrayTypeSignature in class TypeSignature

getRawName

public TypeName getRawName()
Return the name of the raw type for this signature


getTypeArguments

public TypeArgument[] getTypeArguments()

isBaseType

public boolean isBaseType()
Specified by:
isBaseType in class TypeSignature

lookupClass

public static IClass lookupClass(IClassHierarchy cha,
                                 ClassTypeSignature sig)