com.ibm.wala.shrikeBT.analysis
Interface ClassHierarchyProvider

All Known Implementing Classes:
ClassHierarchyStore

public interface ClassHierarchyProvider

This interface provides information about the class hierarchy to some consumer, such as a bytecode verifier. All class names are given in JVM type format, e.g., Ljava/lang/Object;.


Method Summary
 java.lang.String[] getSubClasses(java.lang.String cl)
           
 java.lang.String getSuperClass(java.lang.String cl)
           
 java.lang.String[] getSuperInterfaces(java.lang.String cl)
           
 int isInterface(java.lang.String cl)
           
 

Method Detail

getSuperClass

java.lang.String getSuperClass(java.lang.String cl)
Returns:
the superclass of the given class, or null if the superclass is not known or cl is java.lang.Object

getSuperInterfaces

java.lang.String[] getSuperInterfaces(java.lang.String cl)
Returns:
the superinterfaces of the given class, or null if they are not known

getSubClasses

java.lang.String[] getSubClasses(java.lang.String cl)
Returns:
the complete set of direct subclasses or implementors of cl, or null if the complete set is not known

isInterface

int isInterface(java.lang.String cl)
Returns:
whether or not cl is an interface, or Constants.MAYBE if not known