Searched refs:TypeProto (Results 1 – 14 of 14) sorted by relevance
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/util/ |
D | TypeProtoUtils.java | 34 import org.jf.dexlib2.analysis.TypeProto; 55 public static Iterable<TypeProto> getSuperclassChain(@Nonnull final TypeProto typeProto) { in getSuperclassChain() 56 return new Iterable<TypeProto>() { in getSuperclassChain() 58 @Override public Iterator<TypeProto> iterator() { in getSuperclassChain() 59 return new Iterator<TypeProto>() { in getSuperclassChain() 60 @Nullable private TypeProto type = getSuperclassAsTypeProto(typeProto); in getSuperclassChain() 66 @Override public TypeProto next() { in getSuperclassChain() 67 TypeProto type = this.type; in getSuperclassChain() 85 public static TypeProto getSuperclassAsTypeProto(@Nonnull TypeProto type) { 98 public static boolean extendsFrom(@Nonnull TypeProto candidate, @Nonnull String possibleSuper) { [all …]
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/util/ |
D | SuperclassChainTest.java | 41 import org.jf.dexlib2.analysis.TypeProto; 62 TypeProto objectClassProto = classPath.getClass("Ljava/lang/Object;"); in testGetSuperclassChain() 63 TypeProto oneClassProto = classPath.getClass("Ltest/one;"); in testGetSuperclassChain() 64 TypeProto twoClassProto = classPath.getClass("Ltest/two;"); in testGetSuperclassChain() 65 TypeProto threeClassProto = classPath.getClass("Ltest/three;"); in testGetSuperclassChain() 68 ImmutableList.<TypeProto>of(), in testGetSuperclassChain() 72 ImmutableList.<TypeProto>of(objectClassProto), in testGetSuperclassChain() 76 ImmutableList.<TypeProto>of(oneClassProto, objectClassProto), in testGetSuperclassChain() 80 ImmutableList.<TypeProto>of(twoClassProto, oneClassProto, objectClassProto), in testGetSuperclassChain() 93 TypeProto unknownClassProto = classPath.getUnknownClass(); in testGetSuperclassChain_Unresolved() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
D | ClassPath.java | 53 @Nonnull private final TypeProto unknownClass; 131 public TypeProto getClass(@Nonnull CharSequence type) { in getClass() 135 … private final CacheLoader<String, TypeProto> classLoader = new CacheLoader<String, TypeProto>() { 136 @Override public TypeProto load(String type) throws Exception { 145 …@Nonnull private LoadingCache<String, TypeProto> loadedClasses = CacheBuilder.newBuilder().build(c… 159 public TypeProto getUnknownClass() { in getUnknownClass()
|
D | ArrayProto.java | 45 public class ArrayProto implements TypeProto { 100 public TypeProto getCommonSuperclass(@Nonnull TypeProto other) { in getCommonSuperclass() 112 TypeProto thisClass = classPath.getClass(elementType); in getCommonSuperclass() 113 TypeProto otherClass = classPath.getClass(((ArrayProto)other).elementType); in getCommonSuperclass() 114 TypeProto mergedClass = thisClass.getCommonSuperclass(otherClass); in getCommonSuperclass()
|
D | TypeProto.java | 41 public interface TypeProto { interface 47 @Nonnull TypeProto getCommonSuperclass(@Nonnull TypeProto other); in getCommonSuperclass()
|
D | PrimitiveProto.java | 42 public class PrimitiveProto implements TypeProto { 57 @Nonnull @Override public TypeProto getCommonSuperclass(@Nonnull TypeProto other) { in getCommonSuperclass()
|
D | UnknownClassProto.java | 41 public class UnknownClassProto implements TypeProto { 54 @Nonnull @Override public TypeProto getCommonSuperclass(@Nonnull TypeProto other) { in getCommonSuperclass()
|
D | RegisterType.java | 44 @Nullable public final TypeProto type; 46 private RegisterType(byte category, @Nullable TypeProto type) { in RegisterType() 279 TypeProto mergedType = null; in merge() 281 TypeProto type = this.type; in merge() 311 public static RegisterType getRegisterType(byte category, @Nullable TypeProto typeProto) { in getRegisterType()
|
D | AnalyzedMethodUtil.java | 44 …public static boolean canAccess(@Nonnull TypeProto type, @Nonnull Method virtualMethod, boolean ch… in canAccess()
|
D | ClassProto.java | 60 public class ClassProto implements TypeProto { 376 public TypeProto getCommonSuperclass(@Nonnull TypeProto other) { in getCommonSuperclass() 414 List<TypeProto> thisChain = Lists.<TypeProto>newArrayList(this); in getCommonSuperclass() 417 List<TypeProto> otherChain = Lists.newArrayList(other); in getCommonSuperclass() 425 TypeProto typeProto = thisChain.get(i); in getCommonSuperclass()
|
D | MethodAnalyzer.java | 1175 TypeProto stringClass = classPath.getClass("Ljava/lang/String;"); 1181 TypeProto classClass = classPath.getClass("Ljava/lang/Class;"); 1200 TypeProto commonSuperclass = newType.type.getCommonSuperclass(originalType.type); 1688 TypeProto objectRegisterTypeProto = objectRegisterType.type; 1691 TypeProto classTypeProto = classPath.getClass(objectRegisterTypeProto.getType()); 1795 TypeProto objectRegisterTypeProto = objectRegisterType.type; 1806 TypeProto typeProto = classPath.getClass(method.getDefiningClass()); 1807 TypeProto superType; 1970 TypeProto typeProto = classPath.getClass(methodRef.getDefiningClass());
|
D | CustomInlineMethodResolver.java | 120 TypeProto typeProto = classPath.getClass(className); in parseAndResolveInlineMethod()
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/ |
D | CommonSuperclassTest.java | 103 TypeProto commonSuperclassProto = classPath.getClass(commonSuperclass); in superclassTest() 104 TypeProto type1Proto = classPath.getClass(type1); in superclassTest() 105 TypeProto type2Proto = classPath.getClass(type2); in superclassTest()
|
/external/protobuf/src/google/protobuf/ |
D | type.proto | 40 option java_outer_classname = "TypeProto";
|