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 Detail

      • getSuperClass

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

        String[] getSuperInterfaces​(String cl)
        Returns:
        the superinterfaces of the given class, or null if they are not known
      • getSubClasses

        String[] getSubClasses​(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​(String cl)
        Returns:
        whether or not cl is an interface, or Constants.MAYBE if not known