/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
D | ClassSection.java | 40 import javax.annotation.Nonnull; 49 @Nonnull Collection<? extends ClassKey> getSortedClasses(); in getSortedClasses() 53 @Nonnull TypeKey getType(@Nonnull ClassKey key); in getType() 54 int getAccessFlags(@Nonnull ClassKey key); in getAccessFlags() 55 @Nullable TypeKey getSuperclass(@Nonnull ClassKey key); in getSuperclass() 56 @Nullable TypeListKey getInterfaces(@Nonnull ClassKey key); in getInterfaces() 57 @Nullable StringKey getSourceFile(@Nonnull ClassKey key); in getSourceFile() 58 @Nullable Collection<? extends EncodedValue> getStaticInitializers(@Nonnull ClassKey key); in getStaticInitializers() 60 @Nonnull Collection<? extends FieldKey> getSortedStaticFields(@Nonnull ClassKey key); in getSortedStaticFields() 61 @Nonnull Collection<? extends FieldKey> getSortedInstanceFields(@Nonnull ClassKey key); in getSortedInstanceFields() [all …]
|
D | InstructionFactory.java | 40 import javax.annotation.Nonnull; 45 Instruction makeInstruction10t(@Nonnull Opcode opcode, int codeOffset); in makeInstruction10t() 46 Instruction makeInstruction10x(@Nonnull Opcode opcode); in makeInstruction10x() 47 Instruction makeInstruction11n(@Nonnull Opcode opcode, int registerA, int literal); in makeInstruction11n() 48 Instruction makeInstruction11x(@Nonnull Opcode opcode, int registerA); in makeInstruction11x() 49 Instruction makeInstruction12x(@Nonnull Opcode opcode, int registerA, int registerB); in makeInstruction12x() 50 …Instruction makeInstruction20bc(@Nonnull Opcode opcode, int verificationError, @Nonnull Ref refere… in makeInstruction20bc() 51 Instruction makeInstruction20t(@Nonnull Opcode opcode, int codeOffset); in makeInstruction20t() 52 Instruction makeInstruction21c(@Nonnull Opcode opcode, int registerA, @Nonnull Ref reference); in makeInstruction21c() 53 Instruction makeInstruction21ih(@Nonnull Opcode opcode, int registerA, int literal); in makeInstruction21ih() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/ |
D | RewriterModule.java | 41 import javax.annotation.Nonnull; 44 @Nonnull public Rewriter<ClassDef> getClassDefRewriter(@Nonnull Rewriters rewriters) { in getClassDefRewriter() 48 @Nonnull public Rewriter<Field> getFieldRewriter(@Nonnull Rewriters rewriters) { in getFieldRewriter() 52 @Nonnull public Rewriter<Method> getMethodRewriter(@Nonnull Rewriters rewriters) { in getMethodRewriter() 56 …@Nonnull public Rewriter<MethodParameter> getMethodParameterRewriter(@Nonnull Rewriters rewriters)… in getMethodParameterRewriter() 60 …@Nonnull public Rewriter<MethodImplementation> getMethodImplementationRewriter(@Nonnull Rewriters … in getMethodImplementationRewriter() 64 @Nonnull public Rewriter<Instruction> getInstructionRewriter(@Nonnull Rewriters rewriters) { in getInstructionRewriter() 68 …@Nonnull public Rewriter<TryBlock<? extends ExceptionHandler>> getTryBlockRewriter(@Nonnull Rewrit… in getTryBlockRewriter() 72 …@Nonnull public Rewriter<ExceptionHandler> getExceptionHandlerRewriter(@Nonnull Rewriters rewriter… in getExceptionHandlerRewriter() 76 @Nonnull public Rewriter<DebugItem> getDebugItemRewriter(@Nonnull Rewriters rewriters) { in getDebugItemRewriter() [all …]
|
D | EncodedValueRewriter.java | 41 import javax.annotation.Nonnull; 46 @Nonnull protected final Rewriters rewriters; 48 public EncodedValueRewriter(@Nonnull Rewriters rewriters) { in EncodedValueRewriter() 52 @Nonnull @Override public EncodedValue rewrite(@Nonnull EncodedValue encodedValue) { in rewrite() 72 @Nonnull protected TypeEncodedValue typeEncodedValue; 74 public RewrittenTypeEncodedValue(@Nonnull TypeEncodedValue typeEncodedValue) { in RewrittenTypeEncodedValue() 78 @Override @Nonnull public String getValue() { in getValue() 84 @Nonnull protected FieldEncodedValue fieldEncodedValue; 86 public RewrittenFieldEncodedValue(@Nonnull FieldEncodedValue fieldEncodedValue) { in RewrittenFieldEncodedValue() 90 @Override @Nonnull public FieldReference getValue() { in getValue() [all …]
|
D | Rewriters.java | 41 import javax.annotation.Nonnull; 44 @Nonnull Rewriter<ClassDef> getClassDefRewriter(); in getClassDefRewriter() 45 @Nonnull Rewriter<Field> getFieldRewriter(); in getFieldRewriter() 47 @Nonnull Rewriter<Method> getMethodRewriter(); in getMethodRewriter() 48 @Nonnull Rewriter<MethodParameter> getMethodParameterRewriter(); in getMethodParameterRewriter() 49 @Nonnull Rewriter<MethodImplementation> getMethodImplementationRewriter(); in getMethodImplementationRewriter() 50 @Nonnull Rewriter<Instruction> getInstructionRewriter(); in getInstructionRewriter() 51 @Nonnull Rewriter<TryBlock<? extends ExceptionHandler>> getTryBlockRewriter(); in getTryBlockRewriter() 52 @Nonnull Rewriter<ExceptionHandler> getExceptionHandlerRewriter(); in getExceptionHandlerRewriter() 53 @Nonnull Rewriter<DebugItem> getDebugItemRewriter(); in getDebugItemRewriter() [all …]
|
D | DexRewriter.java | 42 import javax.annotation.Nonnull; 105 @Nonnull 106 public DexFile rewriteDexFile(@Nonnull DexFile dexFile) { in rewriteDexFile() 111 @Nonnull protected final DexFile dexFile; 113 public RewrittenDexFile(@Nonnull DexFile dexFile) { in RewrittenDexFile() 117 @Override @Nonnull public Set<? extends ClassDef> getClasses() { in getClasses() 121 @Nonnull @Override public Opcodes getOpcodes() { in getOpcodes() 126 @Nonnull @Override public Rewriter<ClassDef> getClassDefRewriter() { return classDefRewriter; } in getClassDefRewriter() 127 @Nonnull @Override public Rewriter<Field> getFieldRewriter() { return fieldRewriter; } in getFieldRewriter() 128 @Nonnull @Override public Rewriter<Method> getMethodRewriter() { return methodRewriter; } in getMethodRewriter() [all …]
|
D | ClassDefRewriter.java | 41 import javax.annotation.Nonnull; 48 @Nonnull protected final Rewriters rewriters; 50 public ClassDefRewriter(@Nonnull Rewriters rewriters) { in ClassDefRewriter() 54 @Nonnull @Override public ClassDef rewrite(@Nonnull ClassDef classDef) { in rewrite() 59 @Nonnull protected ClassDef classDef; 61 public RewrittenClassDef(@Nonnull ClassDef classdef) { in RewrittenClassDef() 65 @Override @Nonnull public String getType() { in getType() 77 @Override @Nonnull public List<String> getInterfaces() { in getInterfaces() 85 @Override @Nonnull public Set<? extends Annotation> getAnnotations() { in getAnnotations() 89 @Override @Nonnull public Iterable<? extends Field> getStaticFields() { in getStaticFields() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
D | BuilderMethodPool.java | 39 import javax.annotation.Nonnull; 47 @Nonnull private final BuilderContext context; 48 @Nonnull private final ConcurrentMap<MethodReference, BuilderMethodReference> internedItems = 51 BuilderMethodPool(@Nonnull BuilderContext context) { in BuilderMethodPool() 55 @Nonnull public BuilderMethodReference internMethod(@Nonnull MethodReference methodReference) { in internMethod() 69 …@Nonnull public BuilderMethodReference internMethod(@Nonnull String definingClass, @Nonnull String… in internMethod() 70 … @Nonnull List<? extends CharSequence> parameters, in internMethod() 71 @Nonnull String returnType) { in internMethod() 75 @Nonnull @Override 76 public BuilderTypeReference getDefiningClass(@Nonnull BuilderMethodReference key) { in getDefiningClass() [all …]
|
D | BuilderProtoPool.java | 40 import javax.annotation.Nonnull; 49 @Nonnull private final BuilderContext context; 50 @Nonnull private final ConcurrentMap<ProtoKey, BuilderProtoReference> internedItems = 53 BuilderProtoPool(@Nonnull BuilderContext context) { in BuilderProtoPool() 57 …@Nonnull public BuilderProtoReference internProto(@Nonnull List<? extends CharSequence> parameters, in internProto() 58 @Nonnull String returnType) { in internProto() 73 @Nonnull public BuilderProtoReference internProto(@Nonnull MethodReference methodReference) { in internProto() 77 @Nonnull @Override public BuilderStringReference getShorty(@Nonnull BuilderProtoReference key) { in getShorty() 81 … @Nonnull @Override public BuilderTypeReference getReturnType(@Nonnull BuilderProtoReference key) { in getReturnType() 85 @Nullable @Override public BuilderTypeList getParameters(@Nonnull BuilderProtoReference key) { in getParameters() [all …]
|
D | BuilderContext.java | 44 import javax.annotation.Nonnull; 50 @Nonnull final BuilderStringPool stringPool; 51 @Nonnull final BuilderTypePool typePool; 52 @Nonnull final BuilderFieldPool fieldPool; 53 @Nonnull final BuilderMethodPool methodPool; 54 @Nonnull final BuilderProtoPool protoPool; 55 @Nonnull final BuilderClassPool classPool; 57 @Nonnull final BuilderTypeListPool typeListPool; 58 @Nonnull final BuilderAnnotationPool annotationPool; 59 @Nonnull final BuilderAnnotationSetPool annotationSetPool; [all …]
|
D | BuilderEncodedValues.java | 39 import javax.annotation.Nonnull; 49 @Nonnull final BuilderTypeReference typeReference; 50 @Nonnull final Set<? extends BuilderAnnotationElement> elements; 52 BuilderAnnotationEncodedValue(@Nonnull BuilderTypeReference typeReference, in BuilderAnnotationEncodedValue() 53 @Nonnull Set<? extends BuilderAnnotationElement> elements) { in BuilderAnnotationEncodedValue() 58 @Nonnull @Override public String getType() { in getType() 62 @Nonnull @Override public Set<? extends BuilderAnnotationElement> getElements() { in getElements() 68 @Nonnull final List<? extends BuilderEncodedValue> elements; 70 BuilderArrayEncodedValue(@Nonnull List<? extends BuilderEncodedValue> elements) { in BuilderArrayEncodedValue() 74 @Nonnull @Override public List<? extends EncodedValue> getValue() { in getValue() [all …]
|
D | BuilderClassPool.java | 56 import javax.annotation.Nonnull; 65 @Nonnull private final ConcurrentMap<String, BuilderClassDef> internedItems = 71 @Nonnull BuilderClassDef internClass(@Nonnull BuilderClassDef classDef) { in internClass() 80 @Nonnull @Override public Collection<? extends BuilderClassDef> getSortedClasses() { in getSortedClasses() 113 … @Nonnull @Override public BuilderTypeReference getType(@Nonnull BuilderClassDef builderClassDef) { 117 @Override public int getAccessFlags(@Nonnull BuilderClassDef builderClassDef) { 121 …@Nullable @Override public BuilderTypeReference getSuperclass(@Nonnull BuilderClassDef builderClas… 125 …@Nullable @Override public BuilderTypeList getInterfaces(@Nonnull BuilderClassDef builderClassDef)… 129 …@Nullable @Override public BuilderStringReference getSourceFile(@Nonnull BuilderClassDef builderCl… 154 …public Collection<? extends BuilderEncodedValue> getStaticInitializers(@Nonnull BuilderClassDef cl… [all …]
|
D | BuilderAnnotationPool.java | 39 import javax.annotation.Nonnull; 46 @Nonnull private final BuilderContext context; 47 @Nonnull private final ConcurrentMap<Annotation, BuilderAnnotation> internedItems = 50 BuilderAnnotationPool(@Nonnull BuilderContext context) { in BuilderAnnotationPool() 54 @Nonnull public BuilderAnnotation internAnnotation(@Nonnull Annotation annotation) { in internAnnotation() 68 @Override public int getVisibility(@Nonnull BuilderAnnotation key) { in getVisibility() 72 @Nonnull @Override public BuilderTypeReference getType(@Nonnull BuilderAnnotation key) { in getType() 76 @Nonnull @Override 77 …public Collection<? extends BuilderAnnotationElement> getElements(@Nonnull BuilderAnnotation key) { in getElements() 81 @Nonnull @Override [all …]
|
D | BuilderFieldPool.java | 39 import javax.annotation.Nonnull; 46 @Nonnull private final BuilderContext context; 47 @Nonnull private final ConcurrentMap<FieldReference, BuilderFieldReference> internedItems = 50 BuilderFieldPool(@Nonnull BuilderContext context) { in BuilderFieldPool() 54 …@Nonnull BuilderFieldReference internField(@Nonnull String definingClass, String name, String type… in internField() 59 @Nonnull public BuilderFieldReference internField(@Nonnull FieldReference fieldReference) { in internField() 73 @Nonnull @Override 74 public BuilderTypeReference getDefiningClass(@Nonnull BuilderFieldReference key) { in getDefiningClass() 78 … @Nonnull @Override public BuilderTypeReference getFieldType(@Nonnull BuilderFieldReference key) { in getFieldType() 82 @Nonnull @Override public BuilderStringReference getName(@Nonnull BuilderFieldReference key) { in getName() [all …]
|
D | DexBuilder.java | 49 import javax.annotation.Nonnull; 61 @Nonnull private final BuilderContext context; 63 @Nonnull public static DexBuilder makeDexBuilder() { in makeDexBuilder() 69 @Nonnull 75 @Nonnull public static DexBuilder makeDexBuilder(@Nonnull Opcodes opcodes) { in makeDexBuilder() 80 private DexBuilder(@Nonnull Opcodes opcodes, @Nonnull BuilderContext context) { in DexBuilder() 87 @Nonnull public BuilderField internField(@Nonnull String definingClass, in internField() 88 @Nonnull String name, in internField() 89 @Nonnull String type, in internField() 92 @Nonnull Set<? extends Annotation> annotations) { in internField() [all …]
|
D | BuilderClassDef.java | 43 import javax.annotation.Nonnull; 48 @Nonnull final BuilderTypeReference type; 51 @Nonnull final BuilderTypeList interfaces; 53 @Nonnull final BuilderAnnotationSet annotations; 54 @Nonnull final SortedSet<BuilderField> staticFields; 55 @Nonnull final SortedSet<BuilderField> instanceFields; 56 @Nonnull final SortedSet<BuilderMethod> directMethods; 57 @Nonnull final SortedSet<BuilderMethod> virtualMethods; 63 BuilderClassDef(@Nonnull BuilderTypeReference type, in BuilderClassDef() 66 @Nonnull BuilderTypeList interfaces, in BuilderClassDef() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/ |
D | ImmutableInstructionFactory.java | 39 import javax.annotation.Nonnull; 49 public ImmutableInstruction10t makeInstruction10t(@Nonnull Opcode opcode, in makeInstruction10t() 54 public ImmutableInstruction10x makeInstruction10x(@Nonnull Opcode opcode) { in makeInstruction10x() 58 public ImmutableInstruction11n makeInstruction11n(@Nonnull Opcode opcode, in makeInstruction11n() 64 public ImmutableInstruction11x makeInstruction11x(@Nonnull Opcode opcode, in makeInstruction11x() 69 public ImmutableInstruction12x makeInstruction12x(@Nonnull Opcode opcode, in makeInstruction12x() 75 public ImmutableInstruction20bc makeInstruction20bc(@Nonnull Opcode opcode, in makeInstruction20bc() 77 @Nonnull Reference reference) { in makeInstruction20bc() 81 public ImmutableInstruction20t makeInstruction20t(@Nonnull Opcode opcode, in makeInstruction20t() 86 public ImmutableInstruction21c makeInstruction21c(@Nonnull Opcode opcode, in makeInstruction21c() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
D | AnnotationPool.java | 39 import javax.annotation.Nonnull; 44 @Nonnull StringPool stringPool; 45 @Nonnull TypePool typePool; 46 @Nonnull FieldPool fieldPool; 47 @Nonnull MethodPool methodPool; 49 public AnnotationPool(@Nonnull StringPool stringPool, @Nonnull TypePool typePool, in AnnotationPool() 50 @Nonnull FieldPool fieldPool, @Nonnull MethodPool methodPool) { in AnnotationPool() 57 public void intern(@Nonnull Annotation annotation) { in intern() 68 @Override public int getVisibility(@Nonnull Annotation annotation) { in getVisibility() 72 @Nonnull @Override public CharSequence getType(@Nonnull Annotation annotation) { in getType() [all …]
|
D | ClassPool.java | 55 import javax.annotation.Nonnull; 64 @Nonnull private HashMap<String, PoolClassDef> internedItems = Maps.newHashMap(); 66 @Nonnull private final StringPool stringPool; 67 @Nonnull private final TypePool typePool; 68 @Nonnull private final FieldPool fieldPool; 69 @Nonnull private final MethodPool methodPool; 70 @Nonnull private final AnnotationSetPool annotationSetPool; 71 @Nonnull private final TypeListPool typeListPool; 73 public ClassPool(@Nonnull StringPool stringPool, in ClassPool() 74 @Nonnull TypePool typePool, in ClassPool() [all …]
|
D | MethodPool.java | 37 import javax.annotation.Nonnull; 41 @Nonnull private final StringPool stringPool; 42 @Nonnull private final TypePool typePool; 43 @Nonnull private final ProtoPool protoPool; 45 public MethodPool(@Nonnull StringPool stringPool, @Nonnull TypePool typePool, in MethodPool() 46 @Nonnull ProtoPool protoPool) { in MethodPool() 52 public void intern(@Nonnull MethodReference method) { in intern() 61 …@Nonnull @Override public CharSequence getDefiningClass(@Nonnull MethodReference methodReference) { in getDefiningClass() 65 @Nonnull @Override public ProtoPool.Key getPrototype(@Nonnull MethodReference methodReference) { in getPrototype() 69 @Nonnull @Override public ProtoPool.Key getPrototype(@Nonnull PoolMethod poolMethod) { in getPrototype() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/ |
D | MutableMethodImplementation.java | 52 import javax.annotation.Nonnull; 62 public MutableMethodImplementation(@Nonnull MethodImplementation methodImplementation) { in MutableMethodImplementation() 138 @Nonnull 165 @Nonnull @Override public List<BuilderTryBlock> getTryBlocks() { 172 @Nonnull @Override public Iterable<? extends DebugItem> getDebugItems() { 189 public void addCatch(@Nullable TypeReference type, @Nonnull Label from, 190 @Nonnull Label to, @Nonnull Label handler) { 194 public void addCatch(@Nullable String type, @Nonnull Label from, @Nonnull Label to, 195 @Nonnull Label handler) { 199 public void addCatch(@Nonnull Label from, @Nonnull Label to, @Nonnull Label handler) { [all …]
|
/external/smali/util/src/main/java/org/jf/util/ |
D | CollectionUtils.java | 39 import javax.annotation.Nonnull; 43 public static <T> int listHashCode(@Nonnull Iterable<T> iterable) { in listHashCode() 51 …public static <T> int lastIndexOf(@Nonnull Iterable<T> iterable, @Nonnull Predicate<? super T> pre… in lastIndexOf() 63 …public static <T extends Comparable<? super T>> int compareAsList(@Nonnull Collection<? extends T>… in compareAsList() 64 … @Nonnull Collection<? extends T> list2) { in compareAsList() 75 public static <T> int compareAsIterable(@Nonnull Comparator<? super T> comparator, in compareAsIterable() 76 @Nonnull Iterable<? extends T> it1, in compareAsIterable() 77 @Nonnull Iterable<? extends T> it2) { in compareAsIterable() 95 …public static <T extends Comparable<? super T>> int compareAsIterable(@Nonnull Iterable<? extends … in compareAsIterable() 96 … @Nonnull Iterable<? extends T> it2) { in compareAsIterable() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/ |
D | ImmutableMethodReference.java | 40 import javax.annotation.Nonnull; 44 @Nonnull protected final String definingClass; 45 @Nonnull protected final String name; 46 @Nonnull protected final ImmutableList<String> parameters; 47 @Nonnull protected final String returnType; 49 public ImmutableMethodReference(@Nonnull String definingClass, in ImmutableMethodReference() 50 @Nonnull String name, in ImmutableMethodReference() 52 @Nonnull String returnType) { in ImmutableMethodReference() 59 public ImmutableMethodReference(@Nonnull String definingClass, in ImmutableMethodReference() 60 @Nonnull String name, in ImmutableMethodReference() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/ |
D | AnnotationsDirectory.java | 39 import javax.annotation.Nonnull; 46 …@Nonnull @Override public Set<? extends DexBackedAnnotation> getClassAnnotations() { return Immuta… 47 …@Nonnull @Override public AnnotationIterator getFieldAnnotationIterator() { return AnnotationItera… 48 …@Nonnull @Override public AnnotationIterator getMethodAnnotationIterator() { return AnnotationIter… 49 …@Nonnull @Override public AnnotationIterator getParameterAnnotationIterator() {return AnnotationIt… 53 @Nonnull public abstract Set<? extends DexBackedAnnotation> getClassAnnotations(); in getClassAnnotations() 54 @Nonnull public abstract AnnotationIterator getFieldAnnotationIterator(); in getFieldAnnotationIterator() 55 @Nonnull public abstract AnnotationIterator getMethodAnnotationIterator(); in getMethodAnnotationIterator() 56 @Nonnull public abstract AnnotationIterator getParameterAnnotationIterator(); in getParameterAnnotationIterator() 58 @Nonnull [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/ |
D | ImmutableMethod.java | 46 import javax.annotation.Nonnull; 51 @Nonnull protected final String definingClass; 52 @Nonnull protected final String name; 53 @Nonnull protected final ImmutableList<? extends ImmutableMethodParameter> parameters; 54 @Nonnull protected final String returnType; 56 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations; 59 public ImmutableMethod(@Nonnull String definingClass, in ImmutableMethod() 60 @Nonnull String name, in ImmutableMethod() 62 @Nonnull String returnType, in ImmutableMethod() 75 public ImmutableMethod(@Nonnull String definingClass, in ImmutableMethod() [all …]
|