Home
last modified time | relevance | path

Searched refs:bridgeMethod (Results 1 – 5 of 5) sorted by relevance

/external/desugar/java/com/google/devtools/build/android/desugar/
DLambdaDesugaring.java103 Handle neededMethod = bridge.getValue().bridgeMethod(); in visitEnd()
120 MethodVisitor bridgeMethod = in visitEnd() local
130 bridgeMethod.visitTypeInsn(Opcodes.NEW, original.getOwner()); in visitEnd()
131 bridgeMethod.visitInsn(Opcodes.DUP); in visitEnd()
136 bridgeMethod.visitVarInsn(Opcodes.ALOAD, slot++); in visitEnd()
140 bridgeMethod.visitVarInsn(arg.getOpcode(Opcodes.ILOAD), slot); in visitEnd()
143 bridgeMethod.visitMethodInsn( in visitEnd()
149 bridgeMethod.visitInsn(neededType.getReturnType().getOpcode(Opcodes.IRETURN)); in visitEnd()
151 bridgeMethod.visitMaxs(0, 0); // rely on class writer to compute these in visitEnd()
152 bridgeMethod.visitEnd(); in visitEnd()
[all …]
DLambdaInfo.java28 Handle bridgeMethod) { in create() argument
32 desiredInternalName, factoryMethodDesc, needFactory, methodReference, bridgeMethod); in create()
40 public abstract Handle bridgeMethod(); in bridgeMethod() method in LambdaInfo
DLambdaClassFixer.java146 if (!lambdaInfo.bridgeMethod().equals(lambdaInfo.methodReference())) { in visitMethod()
453 !lambdaInfo.methodReference().equals(lambdaInfo.bridgeMethod()), in UseBridgeMethod()
456 lambdaInfo.bridgeMethod()); in UseBridgeMethod()
470 && lambdaInfo.bridgeMethod().getTag() != Opcodes.H_NEWINVOKESPECIAL) { in visitMethodInsn()
487 LambdaDesugaring.invokeOpcode(lambdaInfo.bridgeMethod()), in visitMethodInsn()
488 lambdaInfo.bridgeMethod().getOwner(), in visitMethodInsn()
489 lambdaInfo.bridgeMethod().getName(), in visitMethodInsn()
490 lambdaInfo.bridgeMethod().getDesc(), in visitMethodInsn()
491 lambdaInfo.bridgeMethod().isInterface()); in visitMethodInsn()
/external/mockito/src/test/java/org/mockitousage/puzzlers/
DBridgeMethodPuzzleTest.java15 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/mockito/src/test/java/org/mockitoutil/
DConditions.java83 public static Condition<Object> bridgeMethod(final String methodName) {