Class ClspGraph

java.lang.Object
jadx.core.clsp.ClspGraph

public class ClspGraph extends Object
Classes hierarchy graph with methods additional info
  • Field Details

  • Constructor Details

    • ClspGraph

      public ClspGraph(RootNode rootNode)
  • Method Details

    • loadClsSetFile

      public void loadClsSetFile() throws IOException, DecodeException
      Throws:
      IOException
      DecodeException
    • addClasspath

      public void addClasspath(ClsSet set)
    • addApp

      public void addApp(List<ClassNode> classes)
    • initCache

      public void initCache()
    • isClsKnown

      public boolean isClsKnown(String fullName)
    • getClsDetails

      public ClspClass getClsDetails(ArgType type)
    • getMethodDetails

      @Nullable public @Nullable IMethodDetails getMethodDetails(MethodInfo methodInfo)
    • getMethodFromClass

      private ClspMethod getMethodFromClass(ClspClass cls, MethodInfo methodInfo)
    • addClass

      private void addClass(ClassNode cls)
    • isImplements

      public boolean isImplements(String clsName, String implClsName)
      Returns:
      clsName instanceof implClsName
    • getImplementations

      public List<String> getImplementations(String clsName)
    • fillImplementsCache

      private void fillImplementsCache()
    • getCommonAncestor

      public String getCommonAncestor(String clsName, String implClsName)
    • searchCommonParent

      private String searchCommonParent(Set<String> anc, ClspClass cls)
    • getSuperTypes

      public Set<String> getSuperTypes(String clsName)
    • fillSuperTypesCache

      private void fillSuperTypesCache()
    • addSuperTypes

      private void addSuperTypes(ClspClass cls, Set<String> result)
    • getClspClass

      @Nullable private @Nullable ClspClass getClspClass(ArgType clsType)
    • printMissingClasses

      public void printMissingClasses()