Searched refs:TypeProto (Results 1 - 13 of 13) sorted by relevance
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/util/ |
H A D | TypeProtoUtils.java | 34 import org.jf.dexlib2.analysis.TypeProto; 55 public static Iterable<TypeProto> getSuperclassChain(@Nonnull final TypeProto typeProto) { 56 return new Iterable<TypeProto>() { 58 @Override public Iterator<TypeProto> iterator() { 59 return new Iterator<TypeProto>() { 60 @Nullable private TypeProto type = getSuperclassAsTypeProto(typeProto); 66 @Override public TypeProto next() { 67 TypeProto type = this.type; 85 public static TypeProto getSuperclassAsTypeProt [all...] |
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/util/ |
H A D | SuperclassChainTest.java | 41 import org.jf.dexlib2.analysis.TypeProto; 62 TypeProto objectClassProto = classPath.getClass("Ljava/lang/Object;"); 63 TypeProto oneClassProto = classPath.getClass("Ltest/one;"); 64 TypeProto twoClassProto = classPath.getClass("Ltest/two;"); 65 TypeProto threeClassProto = classPath.getClass("Ltest/three;"); 68 ImmutableList.<TypeProto>of(), 72 ImmutableList.<TypeProto>of(objectClassProto), 76 ImmutableList.<TypeProto>of(oneClassProto, objectClassProto), 80 ImmutableList.<TypeProto>of(twoClassProto, oneClassProto, objectClassProto), 93 TypeProto unknownClassProt [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
H A D | TypeProto.java | 41 public interface TypeProto { interface 47 @Nonnull TypeProto getCommonSuperclass(@Nonnull TypeProto other);
|
H A D | PrimitiveProto.java | 42 public class PrimitiveProto implements TypeProto { 57 @Nonnull @Override public TypeProto getCommonSuperclass(@Nonnull TypeProto other) {
|
H A D | UnknownClassProto.java | 41 public class UnknownClassProto implements TypeProto { 54 @Nonnull @Override public TypeProto getCommonSuperclass(@Nonnull TypeProto other) {
|
H A D | ArrayProto.java | 45 public class ArrayProto implements TypeProto { 100 public TypeProto getCommonSuperclass(@Nonnull TypeProto other) { 112 TypeProto thisClass = classPath.getClass(elementType); 113 TypeProto otherClass = classPath.getClass(((ArrayProto)other).elementType); 114 TypeProto mergedClass = thisClass.getCommonSuperclass(otherClass);
|
H A D | ClassPath.java | 63 @Nonnull private final TypeProto unknownClass; 131 public TypeProto getClass(@Nonnull CharSequence type) { 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(classLoader); 159 public TypeProto getUnknownClass() {
|
H A D | AnalyzedMethodUtil.java | 44 public static boolean canAccess(@Nonnull TypeProto type, @Nonnull Method virtualMethod, boolean checkPackagePrivate,
|
H A D | RegisterType.java | 44 @Nullable public final TypeProto type; 46 private RegisterType(byte category, @Nullable TypeProto type) { 279 TypeProto mergedType = null; 281 TypeProto type = this.type; 311 public static RegisterType getRegisterType(byte category, @Nullable TypeProto typeProto) {
|
H A D | ClassProto.java | 60 public class ClassProto implements TypeProto { 302 public TypeProto getCommonSuperclass(@Nonnull TypeProto other) { 340 List<TypeProto> thisChain = Lists.<TypeProto>newArrayList(this); 343 List<TypeProto> otherChain = Lists.newArrayList(other); 351 TypeProto typeProto = thisChain.get(i);
|
H A D | CustomInlineMethodResolver.java | 120 TypeProto typeProto = classPath.getClass(className);
|
H A D | MethodAnalyzer.java | 1161 TypeProto stringClass = classPath.getClass("Ljava/lang/String;"); 1167 TypeProto classClass = classPath.getClass("Ljava/lang/Class;"); 1198 TypeProto commonSuperclass = registerType.type.getCommonSuperclass(originalType.type); 1668 TypeProto objectRegisterTypeProto = objectRegisterType.type; 1671 TypeProto classTypeProto = classPath.getClass(objectRegisterTypeProto.getType()); 1736 TypeProto typeProto = classPath.getClass(targetMethod.getDefiningClass()); 1807 TypeProto objectRegisterTypeProto = objectRegisterType.type; 1818 TypeProto typeProto = classPath.getClass(method.getDefiningClass()); 1819 TypeProto superType;
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/ |
H A D | CommonSuperclassTest.java | 97 TypeProto commonSuperclassProto = classPath.getClass(commonSuperclass); 98 TypeProto type1Proto = classPath.getClass(type1); 99 TypeProto type2Proto = classPath.getClass(type2);
|
Completed in 197 milliseconds