Package soot.rbclassload

Examples of soot.rbclassload.HierarchyGraph.sameHierarchy()


      SootClass lhs_class = m_method.getDeclaringClass();
      SootClass rhs_class = other.m_method.getDeclaringClass();
      Integer lhs_number = RootbeerClassLoader.v().getClassNumber(lhs_class);
      Integer rhs_number = RootbeerClassLoader.v().getClassNumber(rhs_class);
      HierarchyGraph hgraph = RootbeerClassLoader.v().getClassHierarchy().getHierarchyGraph();
      if(hgraph.sameHierarchy(lhs_number, rhs_number)){
        return true;
      }
      return false;
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.