/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 …]
|
D | InstructionWriter.java | 51 import javax.annotation.Nonnull; 59 @Nonnull private final Opcodes opcodes; 60 @Nonnull private final DexDataWriter writer; 61 @Nonnull private final StringSection<?, StringRef> stringSection; 62 @Nonnull private final TypeSection<?, ?, TypeRef> typeSection; 63 @Nonnull private final FieldSection<?, ?, FieldRefKey, ?> fieldSection; 64 @Nonnull private final MethodSection<?, ?, ?, MethodRefKey, ?> methodSection; 65 @Nonnull private final ProtoSection<?, ?, ProtoRefKey, ?> protoSection; 67 …@Nonnull static <StringRef extends StringReference, TypeRef extends TypeReference, FieldRefKey ext… 71 @Nonnull Opcodes opcodes, in makeInstructionWriter() [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 ConcurrentMap<MethodReference, BuilderMethodReference> internedItems = 50 public BuilderMethodPool(@Nonnull DexBuilder dexBuilder) { in BuilderMethodPool() 54 @Nonnull public BuilderMethodReference internMethod(@Nonnull MethodReference methodReference) { in internMethod() 68 …@Nonnull public BuilderMethodReference internMethod(@Nonnull String definingClass, @Nonnull String… in internMethod() 69 … @Nonnull List<? extends CharSequence> parameters, in internMethod() 70 @Nonnull String returnType) { in internMethod() 74 …@Nonnull @Override public BuilderMethodReference getMethodReference(@Nonnull BuilderMethod builder… in getMethodReference() 78 @Nonnull @Override 79 public BuilderTypeReference getDefiningClass(@Nonnull BuilderMethodReference key) { in getDefiningClass() [all …]
|
D | DexBuilder.java | 51 import javax.annotation.Nonnull; 65 public DexBuilder(@Nonnull Opcodes opcodes) { in DexBuilder() 69 @Nonnull @Override protected SectionProvider getSectionProvider() { in getSectionProvider() 73 @Nonnull public BuilderField internField(@Nonnull String definingClass, in internField() 74 @Nonnull String name, in internField() 75 @Nonnull String type, in internField() 78 @Nonnull Set<? extends Annotation> annotations) { in internField() 85 @Nonnull public BuilderMethod internMethod(@Nonnull String definingClass, in internMethod() 86 @Nonnull String name, in internMethod() 88 @Nonnull String returnType, in internMethod() [all …]
|
D | BuilderClassPool.java | 56 import javax.annotation.Nonnull; 66 @Nonnull private final ConcurrentMap<String, BuilderClassDef> internedItems = 69 public BuilderClassPool(@Nonnull DexBuilder dexBuilder) { in BuilderClassPool() 73 @Nonnull BuilderClassDef internClass(@Nonnull BuilderClassDef classDef) { in internClass() 82 @Nonnull @Override public Collection<? extends BuilderClassDef> getSortedClasses() { in getSortedClasses() 115 … @Nonnull @Override public BuilderTypeReference getType(@Nonnull BuilderClassDef builderClassDef) { 119 @Override public int getAccessFlags(@Nonnull BuilderClassDef builderClassDef) { 123 …@Nullable @Override public BuilderTypeReference getSuperclass(@Nonnull BuilderClassDef builderClas… 127 …@Nullable @Override public BuilderTypeList getInterfaces(@Nonnull BuilderClassDef builderClassDef)… 131 …@Nullable @Override public BuilderStringReference getSourceFile(@Nonnull BuilderClassDef builderCl… [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 | BuilderAnnotationPool.java | 39 import javax.annotation.Nonnull; 46 @Nonnull private final ConcurrentMap<Annotation, BuilderAnnotation> internedItems = 49 public BuilderAnnotationPool(@Nonnull DexBuilder dexBuilder) { in BuilderAnnotationPool() 53 @Nonnull public BuilderAnnotation internAnnotation(@Nonnull Annotation annotation) { in internAnnotation() 67 @Override public int getVisibility(@Nonnull BuilderAnnotation key) { in getVisibility() 71 @Nonnull @Override public BuilderTypeReference getType(@Nonnull BuilderAnnotation key) { in getType() 75 @Nonnull @Override 76 …public Collection<? extends BuilderAnnotationElement> getElements(@Nonnull BuilderAnnotation key) { in getElements() 80 @Nonnull @Override 81 public BuilderStringReference getElementName(@Nonnull BuilderAnnotationElement element) { in getElementName() [all …]
|
D | BuilderClassDef.java | 42 import javax.annotation.Nonnull; 47 @Nonnull final BuilderTypeReference type; 50 @Nonnull final BuilderTypeList interfaces; 52 @Nonnull final BuilderAnnotationSet annotations; 53 @Nonnull final SortedSet<BuilderField> staticFields; 54 @Nonnull final SortedSet<BuilderField> instanceFields; 55 @Nonnull final SortedSet<BuilderMethod> directMethods; 56 @Nonnull final SortedSet<BuilderMethod> virtualMethods; 62 BuilderClassDef(@Nonnull BuilderTypeReference type, in BuilderClassDef() 65 @Nonnull BuilderTypeList interfaces, in BuilderClassDef() [all …]
|
D | BuilderFieldPool.java | 39 import javax.annotation.Nonnull; 46 @Nonnull private final ConcurrentMap<FieldReference, BuilderFieldReference> internedItems = 49 public BuilderFieldPool(@Nonnull DexBuilder dexBuilder) { in BuilderFieldPool() 53 …@Nonnull BuilderFieldReference internField(@Nonnull String definingClass, String name, String type… in internField() 58 @Nonnull public BuilderFieldReference internField(@Nonnull FieldReference fieldReference) { in internField() 72 @Nonnull @Override 73 public BuilderTypeReference getDefiningClass(@Nonnull BuilderFieldReference key) { in getDefiningClass() 77 … @Nonnull @Override public BuilderTypeReference getFieldType(@Nonnull BuilderFieldReference key) { in getFieldType() 81 @Nonnull @Override public BuilderStringReference getName(@Nonnull BuilderFieldReference key) { in getName() 85 @Override public int getFieldIndex(@Nonnull BuilderField builderField) { in getFieldIndex() [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/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/writer/pool/ |
D | ClassPool.java | 55 import javax.annotation.Nonnull; 65 public ClassPool(@Nonnull DexPool dexPool) { in ClassPool() 69 public void intern(@Nonnull ClassDef classDef) { in intern() 119 private void internCode(@Nonnull Method method) { in internCode() 163 private void internDebug(@Nonnull Method method) { in internDebug() 190 @Nonnull @Override public Collection<? extends PoolClassDef> getSortedClasses() { in getSortedClasses() 223 @Nonnull @Override public CharSequence getType(@Nonnull PoolClassDef classDef) { 227 @Override public int getAccessFlags(@Nonnull PoolClassDef classDef) { 231 @Nullable @Override public CharSequence getSuperclass(@Nonnull PoolClassDef classDef) { 235 …@Nullable @Override public TypeListPool.Key<List<String>> getInterfaces(@Nonnull PoolClassDef clas… [all …]
|
D | PoolClassDef.java | 40 import javax.annotation.Nonnull; 45 @Nonnull final ClassDef classDef; 46 @Nonnull final TypeListPool.Key<List<String>> interfaces; 47 @Nonnull final ImmutableSortedSet<Field> staticFields; 48 @Nonnull final ImmutableSortedSet<Field> instanceFields; 49 @Nonnull final ImmutableSortedSet<PoolMethod> directMethods; 50 @Nonnull final ImmutableSortedSet<PoolMethod> virtualMethods; 56 PoolClassDef(@Nonnull ClassDef classDef) { in PoolClassDef() 68 @Nonnull @Override public String getType() { in getType() 80 @Nonnull @Override public List<String> getInterfaces() { in getInterfaces() [all …]
|
D | MethodPool.java | 38 import javax.annotation.Nonnull; 43 public MethodPool(@Nonnull DexPool dexPool) { in MethodPool() 47 public void intern(@Nonnull MethodReference method) { in intern() 56 @Nonnull @Override public MethodReference getMethodReference(@Nonnull PoolMethod poolMethod) { in getMethodReference() 60 …@Nonnull @Override public CharSequence getDefiningClass(@Nonnull MethodReference methodReference) { in getDefiningClass() 64 …@Nonnull @Override public MethodProtoReference getPrototype(@Nonnull MethodReference methodReferen… in getPrototype() 68 @Nonnull @Override public MethodProtoReference getPrototype(@Nonnull PoolMethod poolMethod) { in getPrototype() 72 @Nonnull @Override public CharSequence getName(@Nonnull MethodReference methodReference) { in getName() 76 @Override public int getMethodIndex(@Nonnull PoolMethod poolMethod) { in getMethodIndex()
|
/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/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/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 …]
|
D | ImmutableField.java | 46 import javax.annotation.Nonnull; 51 @Nonnull protected final String definingClass; 52 @Nonnull protected final String name; 53 @Nonnull protected final String type; 56 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations; 58 public ImmutableField(@Nonnull String definingClass, in ImmutableField() 59 @Nonnull String name, in ImmutableField() 60 @Nonnull String type, in ImmutableField() 72 public ImmutableField(@Nonnull String definingClass, in ImmutableField() 73 @Nonnull String name, in ImmutableField() [all …]
|