Searched refs:bridgeMethod (Results 1 – 8 of 8) sorted by relevance
/external/desugar/java/com/google/devtools/build/android/desugar/ |
D | LambdaDesugaring.java | 96 Handle neededMethod = bridge.getValue().bridgeMethod(); in visitEnd() 107 MethodVisitor bridgeMethod = in visitEnd() local 117 bridgeMethod.visitTypeInsn(Opcodes.NEW, original.getOwner()); in visitEnd() 118 bridgeMethod.visitInsn(Opcodes.DUP); in visitEnd() 123 bridgeMethod.visitVarInsn(Opcodes.ALOAD, slot++); in visitEnd() 127 bridgeMethod.visitVarInsn(arg.getOpcode(Opcodes.ILOAD), slot); in visitEnd() 130 bridgeMethod.visitMethodInsn(invokeOpcode(original), original.getOwner(), original.getName(), in visitEnd() 132 bridgeMethod.visitInsn(neededType.getReturnType().getOpcode(Opcodes.IRETURN)); in visitEnd() 134 bridgeMethod.visitMaxs(0, 0); // rely on class writer to compute these in visitEnd() 135 bridgeMethod.visitEnd(); in visitEnd() [all …]
|
D | LambdaInfo.java | 28 Handle bridgeMethod) { in create() argument 32 desiredInternalName, factoryMethodDesc, needFactory, methodReference, bridgeMethod); in create() 40 public abstract Handle bridgeMethod(); in bridgeMethod() method in LambdaInfo
|
D | LambdaClassFixer.java | 137 if (!lambdaInfo.bridgeMethod().equals(lambdaInfo.methodReference())) { in visitMethod() 433 && lambdaInfo.bridgeMethod().getTag() != Opcodes.H_NEWINVOKESPECIAL) { in visitMethodInsn() 439 LambdaDesugaring.invokeOpcode(lambdaInfo.bridgeMethod()), in visitMethodInsn() 440 lambdaInfo.bridgeMethod().getOwner(), in visitMethodInsn() 441 lambdaInfo.bridgeMethod().getName(), in visitMethodInsn() 442 lambdaInfo.bridgeMethod().getDesc(), in visitMethodInsn() 443 lambdaInfo.bridgeMethod().isInterface()); in visitMethodInsn()
|
/external/mockito/src/test/java/org/mockitousage/puzzlers/ |
D | BridgeMethodPuzzleTest.java | 15 import static org.mockitoutil.Conditions.bridgeMethod; 46 Assertions.assertThat(Sub.class).has(bridgeMethod("say")); in shouldHaveBridgeMethod() 47 Assertions.assertThat(s).has(bridgeMethod("say")); in shouldHaveBridgeMethod()
|
/external/r8/src/main/java/com/android/tools/r8/ir/desugar/ |
D | LambdaBridgeMethodSourceCode.java | 20 LambdaBridgeMethodSourceCode(LambdaClass lambda, DexMethod mainMethod, DexMethod bridgeMethod) { in LambdaBridgeMethodSourceCode() argument 21 super(lambda, bridgeMethod); in LambdaBridgeMethodSourceCode()
|
D | LambdaClass.java | 154 DexMethod bridgeMethod = rewriter.factory.createMethod(type, bridgeProto, descriptor.name); in synthesizeVirtualMethods() local 156 bridgeMethod, in synthesizeVirtualMethods() 162 new LambdaBridgeMethodSourceCode(this, mainMethod, bridgeMethod))); in synthesizeVirtualMethods()
|
/external/r8/src/main/java/com/android/tools/r8/optimize/ |
D | MemberRebindingAnalysis.java | 140 DexEncodedMethod bridgeMethod = target in computeMethodRebinding() local 142 addMethod.accept(bridgeHolder, bridgeMethod); in computeMethodRebinding() 143 assert lookupTarget.apply(method) == bridgeMethod; in computeMethodRebinding() 144 target = bridgeMethod; in computeMethodRebinding()
|
/external/mockito/src/test/java/org/mockitoutil/ |
D | Conditions.java | 83 public static Condition<Object> bridgeMethod(final String methodName) {
|