/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/ |
D | MethodImplementationRewriter.java | 50 …@Override public MethodImplementation rewrite(@Nonnull MethodImplementation methodImplementation) { in rewrite() argument 51 return new RewrittenMethodImplementation(methodImplementation); in rewrite() 55 @Nonnull protected MethodImplementation methodImplementation; field in MethodImplementationRewriter.RewrittenMethodImplementation 57 public RewrittenMethodImplementation(@Nonnull MethodImplementation methodImplementation) { in RewrittenMethodImplementation() argument 58 this.methodImplementation = methodImplementation; in RewrittenMethodImplementation() 62 return methodImplementation.getRegisterCount(); in getRegisterCount() 67 methodImplementation.getInstructions()); in getInstructions() 72 methodImplementation.getTryBlocks()); in getTryBlocks() 77 methodImplementation.getDebugItems()); in getDebugItems()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/ |
D | ImmutableMethodImplementation.java | 75 …blic static ImmutableMethodImplementation of(@Nullable MethodImplementation methodImplementation) { in of() argument 76 if (methodImplementation == null) { in of() 79 if (methodImplementation instanceof ImmutableMethodImplementation) { in of() 80 return (ImmutableMethodImplementation)methodImplementation; in of() 83 methodImplementation.getRegisterCount(), in of() 84 methodImplementation.getInstructions(), in of() 85 methodImplementation.getTryBlocks(), in of() 86 methodImplementation.getDebugItems()); in of()
|
D | ImmutableMethod.java | 57 @Nullable protected final ImmutableMethodImplementation methodImplementation; field in ImmutableMethod 65 @Nullable MethodImplementation methodImplementation) { in ImmutableMethod() argument 72 this.methodImplementation = ImmutableMethodImplementation.of(methodImplementation); in ImmutableMethod() 81 @Nullable ImmutableMethodImplementation methodImplementation) { in ImmutableMethod() argument 88 this.methodImplementation = methodImplementation; in ImmutableMethod() 112 …@Nullable public ImmutableMethodImplementation getImplementation() { return methodImplementation; } in getImplementation()
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/builder/ |
D | MutableMethodImplementationTest.java | 58 MethodImplementation methodImplementation = builder.getMethodImplementation(); in testTryEndAtEndOfMethod() local 60 Assert.assertEquals(0, methodImplementation.getTryBlocks().get(0).getStartCodeAddress()); in testTryEndAtEndOfMethod() 61 Assert.assertEquals(8, methodImplementation.getTryBlocks().get(0).getCodeUnitCount()); in testTryEndAtEndOfMethod() 63 methodImplementation = new MutableMethodImplementation(methodImplementation); in testTryEndAtEndOfMethod() 65 Assert.assertEquals(0, methodImplementation.getTryBlocks().get(0).getStartCodeAddress()); in testTryEndAtEndOfMethod() 66 Assert.assertEquals(8, methodImplementation.getTryBlocks().get(0).getCodeUnitCount()); in testTryEndAtEndOfMethod()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
D | BuilderMethod.java | 48 @Nullable final MethodImplementation methodImplementation; field in BuilderMethod 57 @Nullable MethodImplementation methodImplementation) { in BuilderMethod() argument 62 this.methodImplementation = methodImplementation; in BuilderMethod() 72 …Override @Nullable public MethodImplementation getImplementation() { return methodImplementation; } in getImplementation()
|
D | DexBuilder.java | 105 … @Nullable MethodImplementation methodImplementation) { in internMethod() argument 113 methodImplementation); in internMethod()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/ |
D | MutableMethodImplementation.java | 62 public MutableMethodImplementation(@Nonnull MethodImplementation methodImplementation) { in MutableMethodImplementation() argument 63 this.registerCount = methodImplementation.getRegisterCount(); in MutableMethodImplementation() 68 for (Instruction instruction: methodImplementation.getInstructions()) { in MutableMethodImplementation() 84 for (final Instruction instruction: methodImplementation.getInstructions()) { in MutableMethodImplementation() 105 for (DebugItem debugItem: methodImplementation.getDebugItems()) { in MutableMethodImplementation() 114 for (TryBlock<? extends ExceptionHandler> tryBlock: methodImplementation.getTryBlocks()) { in MutableMethodImplementation()
|
/external/smali/smali/src/main/antlr/ |
D | smaliTreeWalker.g | 395 MethodImplementation methodImplementation = null; 407 methodImplementation = $method::methodBuilder.getMethodImplementation(); 409 if (Iterables.isEmpty(methodImplementation.getInstructions())) { 429 if (methodImplementation.getTryBlocks().size() > 0) { 433 if (!Iterables.isEmpty(methodImplementation.getDebugItems())) { 437 methodImplementation = null; 464 methodImplementation);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
D | DexWriter.java | 823 private void fixInstructions(@Nonnull MutableMethodImplementation methodImplementation) { 824 List<? extends Instruction> instructions = methodImplementation.getInstructions(); 832 … methodImplementation.replaceInstruction(i, new BuilderInstruction31c(Opcode.CONST_STRING_JUMBO,
|
/external/smali/smali/src/main/java/org/jf/smali/ |
D | smaliTreeWalker.java | 2194 MethodImplementation methodImplementation = null; in method() local 2206 methodImplementation = method_stack.peek().methodBuilder.getMethodImplementation(); in method() 2208 if (Iterables.isEmpty(methodImplementation.getInstructions())) { in method() 2228 if (methodImplementation.getTryBlocks().size() > 0) { in method() 2232 if (!Iterables.isEmpty(methodImplementation.getDebugItems())) { in method() 2236 methodImplementation = null; in method() 2263 methodImplementation); in method()
|