Class InheritanceLookup


  • public class InheritanceLookup
    extends Object
    A class that computes the common super class of two classes without actually loading them with a ClassLoader.
    Author:
    Eric Bruneton, vsilaev
    • Constructor Detail

      • InheritanceLookup

        public InheritanceLookup​(ResourceLoader loader)
    • Method Detail

      • isSuperClass

        public boolean isSuperClass​(String type1,
                                    String type2)
      • isSubClass

        public boolean isSubClass​(String type1,
                                  String type2)
      • getCommonSuperClass

        public String getCommonSuperClass​(String type1,
                                          String type2)
      • isClassAvailable

        public boolean isClassAvailable​(String type)