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
Modifier and TypeMethodDescriptionString[]
getSubClasses
(String cl) getSuperClass
(String cl) String[]
int
isInterface
(String cl)
-
Method Details
-
getSuperClass
- Returns:
- the superclass of the given class, or null if the superclass is not known or cl is java.lang.Object
-
getSuperInterfaces
- Returns:
- the superinterfaces of the given class, or null if they are not known
-
getSubClasses
- Returns:
- the complete set of direct subclasses or implementors of cl, or null if the complete set is not known
-
isInterface
- Returns:
- whether or not cl is an interface, or Constants.MAYBE if not known
-