Home
last modified time | relevance | path

Searched refs:methodType (Results 1 – 25 of 40) sorted by relevance

12

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DMethodSignature.java18 static MethodSignature fromExecutableType(String methodName, ExecutableType methodType) { in fromExecutableType() argument
19 checkNotNull(methodType); in fromExecutableType()
22 for (TypeMirror parameter : methodType.getParameterTypes()) { in fromExecutableType()
25 for (TypeMirror thrownType : methodType.getThrownTypes()) { in fromExecutableType()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
DAndroidInterceptors.java5 import static java.lang.invoke.MethodType.methodType;
63 methodType(Object.class, LinkedHashMap.class)); in getMethodHandle()
129 "nanoTime", methodType(long.class));
132 "currentTimeMillis", methodType(long.class));
158 methodType(void.class, Object.class, int.class, Object.class, int.class, int.class));
195 methodType(String.class, String.class));
226 methodType(void.class, Object[].class));
247 MethodHandle nothing = constant(Void.class, null).asType(methodType(void.class));
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DInvokeDynamicSupport.java10 import static java.lang.invoke.MethodType.methodType;
37 methodType(MethodHandle.class, MethodCallSite.class));
39 methodType(MethodHandle.class, RoboCallSite.class));
41 methodType(Throwable.class, Throwable.class));
43 … GET_SHADOW = lookup.findVirtual(ShadowedObject.class, "$$robo$getData", methodType(Object.class));
90 …private static final MethodHandle NOTHING = constant(Void.class, null).asType(methodType(void.clas…
133 mh = filterArguments(mh, 0, GET_SHADOW.asType(methodType(shadowType, site.thisType()))); in bindCallSite()
DRobolectricInternals.java38 MethodType methodType, boolean isStatic) throws IllegalAccessException { in findShadowMethodHandle() argument
39 return classHandler.findShadowMethodHandle(theClass, name, methodType, isStatic); in findShadowMethodHandle()
DInvokeDynamicClassInstrumentor.java3 import static java.lang.invoke.MethodType.methodType;
28 methodType(CallSite.class, MethodHandles.Lookup.class, String.class, MethodType.class);
DShadowWrangler.java7 import static java.lang.invoke.MethodType.methodType;
52 …public static final MethodHandle DO_NOTHING = constant(Void.class, null).asType(methodType(void.cl…
199 MethodType methodType, boolean isStatic) throws IllegalAccessException { in findShadowMethodHandle() argument
201 MethodType actualType = isStatic ? methodType : methodType.dropParameterTypes(0, 1); in findShadowMethodHandle()
DClassHandler.java92 MethodHandle findShadowMethodHandle(Class<?> theClass, String name, MethodType methodType, in findShadowMethodHandle() argument
/external/jacoco/org.jacoco.core.test/src-java8/org/jacoco/core/test/validation/
DBootstrapMethodReferenceTest.java71 final MethodType methodType = MethodType.methodType(CallSite.class, in test() local
75 "bootstrap", methodType.toMethodDescriptorString(), false); in test()
118 "callTarget", MethodType.methodType(int.class))); in bootstrap()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DAndroidInterceptorsIntegrationTest.java63 MethodType methodType = in invokeDynamic() local
64 MethodType.methodType( in invokeDynamic()
68 MethodHandles.lookup(), methodName, methodType, cls.getName()); in invokeDynamic()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/constraintformulas/
DExpressionCompatibleWithType.java312 private MethodType replaceTypeVariablesWithInferenceVariables(MethodType methodType) { in replaceTypeVariablesWithInferenceVariables() argument
316 for (ResolvedType formalArg : methodType.getFormalArgumentTypes()) { in replaceTypeVariablesWithInferenceVariables()
319 …ResolvedType newReturnType = replaceTypeVariablesWithInferenceVariables(methodType.getReturnType()… in replaceTypeVariablesWithInferenceVariables()
320 …return new MethodType(methodType.getTypeParameters(), newFormalArgumentTypes, newReturnType, metho… in replaceTypeVariablesWithInferenceVariables()
/external/desugar/java/com/google/devtools/build/android/desugar/
DCoreLibrarySupport.java359 Type methodType = Type.getMethodType(method.descriptor()); in makeDispatchHelperMethod() local
383 visitLoadArgs(dispatchMethod, methodType, 1 /* receiver already loaded above */); in makeDispatchHelperMethod()
390 dispatchMethod.visitInsn(methodType.getReturnType().getOpcode(Opcodes.IRETURN)); in makeDispatchHelperMethod()
412 visitLoadArgs(dispatchMethod, methodType, 1 /* receiver already loaded above */); in makeDispatchHelperMethod()
419 dispatchMethod.visitInsn(methodType.getReturnType().getOpcode(Opcodes.IRETURN)); in makeDispatchHelperMethod()
428 visitLoadArgs(dispatchMethod, methodType, 1 /* receiver already loaded above */); in makeDispatchHelperMethod()
435 dispatchMethod.visitInsn(methodType.getReturnType().getOpcode(Opcodes.IRETURN)); in makeDispatchHelperMethod()
/external/proguard/src/proguard/classfile/util/
DDynamicClassReferenceInitializer.java337 String methodType = methodrefConstant.getType(clazz); in visitMethodrefConstant() local
340 if (methodType.equals(ClassConstants.METHOD_TYPE_DOT_CLASS_JAVAC) || in visitMethodrefConstant()
341 methodType.equals(ClassConstants.METHOD_TYPE_DOT_CLASS_JIKES)) in visitMethodrefConstant()
366 methodType, in visitMethodrefConstant()
/external/grpc-grpc-java/stub/src/main/java/io/grpc/stub/annotations/
DRpcMethod.java69 MethodDescriptor.MethodType methodType(); in methodType() method
/external/grpc-grpc-java/interop-testing/src/generated/main/grpc/io/grpc/testing/integration/
DTestServiceGrpc.java41 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
73 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
105 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
137 methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
169 methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
201 methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
233 methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
265 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
DReconnectServiceGrpc.java40 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
72 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
DMetricsServiceGrpc.java37 methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
69 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
/external/grpc-grpc-java/services/src/generated/main/grpc/io/grpc/channelz/v1/
DChannelzGrpc.java41 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
73 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
105 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
137 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
169 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
201 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
/external/grpc-grpc-java/benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/
DBenchmarkServiceGrpc.java37 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
69 methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
101 methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
133 methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
165 methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
DWorkerServiceGrpc.java37 methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
69 methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
101 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
133 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
/external/grpc-grpc-java/testing-proto/src/generated/main/grpc/io/grpc/testing/protobuf/
DSimpleServiceGrpc.java40 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
72 methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
104 methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
136 methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
/external/grpc-grpc-java/compiler/src/test/golden/
DTestService.java.txt40 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
72 methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
104 methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
136 methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
168 methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
200 methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
/external/grpc-grpc-java/compiler/src/testLite/golden/
DTestService.java.txt40 methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
71 methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
102 methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
133 methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
164 methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
195 methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
/external/smali/smali/src/main/antlr/
DsmaliTreeWalker.g415 String methodType;
417 methodType = "an abstract";
419 methodType = "a native";
424 …n(input, $registers_directive.start, "A .locals directive is not valid in \%s method", methodType);
426 …nput, $registers_directive.start, "A .registers directive is not valid in \%s method", methodType);
431 …emanticException(input, $I_METHOD, "try/catch blocks cannot be present in \%s method", methodType);
435 …emanticException(input, $I_METHOD, "debug directives cannot be present in \%s method", methodType);
/external/grpc-grpc-java/testing-proto/src/test/java/io/grpc/testing/protobuf/
DSimpleServiceTest.java90 assertEquals(descriptor.getType(), annotation.methodType()); in verifyRpcMethodAnnotation()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
DProxyBuilder.java485 TypeId<Method> methodType = TypeId.get(Method.class); in generateCodeForAllMethods() local
488 "invoke", TypeId.OBJECT, methodType, objectArrayType); in generateCodeForAllMethods()
541 Local<Method> thisMethod = code.newLocal(methodType); in generateCodeForAllMethods()

12