/art/test/952-invoke-custom/src/ |
D | TestInvocationKinds.java | 30 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupStaticFieldGetter() argument 33 lookup.findStaticGetter(TestInvocationKinds.class, name, methodType.returnType()); in lookupStaticFieldGetter() 52 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupStaticFieldSetter() argument 56 TestInvocationKinds.class, name, methodType.parameterType(0)); in lookupStaticFieldSetter() 76 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupInstanceFieldSetter() argument 79 lookup.findSetter(methodType.parameterType(0), name, methodType.parameterType(1)); in lookupInstanceFieldSetter() 99 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupInstanceFieldGetter() argument 102 lookup.findGetter(methodType.parameterType(0), name, methodType.returnType()); in lookupInstanceFieldGetter() 143 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupVirtual() argument 146 MethodType mt = methodType.dropParameterTypes(0, 1); in lookupVirtual() [all …]
|
D | UnrelatedBSM.java | 25 MethodHandles.Lookup lookup, String name, MethodType methodType, Class<?> target) in bsm() argument 27 MethodHandle mh = lookup.findStatic(target, name, methodType); in bsm()
|
D | TestLinkerMethodMinimalArguments.java | 60 MethodHandles.Lookup caller, String name, MethodType methodType) throws Throwable { in linkerMethod() argument 63 caller.findStatic(TestLinkerMethodMinimalArguments.class, name, methodType); in linkerMethod() 67 "Returning null instead of CallSite for " + name + " " + methodType); in linkerMethod()
|
D | TestLinkerMethodMultipleArgumentTypes.java | 81 MethodType methodType, in linkerMethod() argument 93 System.out.println("Linking " + name + " " + methodType); in linkerMethod() 105 caller.findStatic(TestLinkerMethodMultipleArgumentTypes.class, name, methodType); in linkerMethod()
|
D | TestInvokeCustomWithConcurrentThreads.java | 86 MethodHandles.Lookup caller, String name, MethodType methodType) throws Throwable { in linkerMethod() argument 88 caller.findStatic(TestInvokeCustomWithConcurrentThreads.class, name, methodType); in linkerMethod() 89 assertEquals(methodType, mh.type()); in linkerMethod() 94 assertEquals(methodType, mh.type()); in linkerMethod()
|
D | Main.java | 24 CallSite callSite = new MutableCallSite(MethodType.methodType(int.class)); in TestUninitializedCallSite() 32 callSite = new MutableCallSite(MethodType.methodType(String.class, int.class, char.class)); in TestUninitializedCallSite()
|
/art/test/674-hiddenapi/src-ex/ |
D | JLI.java | 67 MethodHandles.Lookup lookup, Class<?> klass, MethodType methodType) { in canDiscoverWithLookupFindConstructor() argument 69 return lookup.findConstructor(klass, methodType) != null; in canDiscoverWithLookupFindConstructor() 78 MethodHandles.Lookup lookup, Class<?> klass, String methodName, MethodType methodType) { in canDiscoverWithLookupFindVirtual() argument 80 return lookup.findVirtual(klass, methodName, methodType) != null; in canDiscoverWithLookupFindVirtual() 89 MethodHandles.Lookup lookup, Class<?> klass, String methodName, MethodType methodType) { in canDiscoverWithLookupFindStatic() argument 91 return lookup.findStatic(klass, methodName, methodType) != null; in canDiscoverWithLookupFindStatic()
|
D | ChildClass.java | 336 final MethodType methodType = MethodType.methodType(int.class); in checkMethod() local 337 if (JLI.canDiscoverWithLookupFindVirtual(lookup, klass, name, methodType) != canDiscover) { in checkMethod() 342 if (JLI.canDiscoverWithLookupFindStatic(lookup, klass, name, methodType) != canDiscover) { in checkMethod() 403 MethodType methodType = MethodType.methodType(void.class, args); in checkConstructor() local 437 if (JLI.canDiscoverWithLookupFindConstructor(lookup, klass, methodType) != canDiscover) { in checkConstructor() 443 if (JLI.canDiscoverWithLookupFindConstructor(publicLookup, klass, methodType) != canDiscover) { in checkConstructor()
|
/art/test/956-methodhandles/src/ |
D | Main.java | 116 MethodType.methodType(void.class), B.class /* specialCaller */); in testfindSpecial_invokeSuperBehaviour() 146 MethodType.methodType(void.class), C.class /* specialCaller */); in testfindSpecial_invokeSuperBehaviour() 152 MethodType.methodType(void.class), D.class /* specialCaller */); in testfindSpecial_invokeSuperBehaviour() 160 MethodType.methodType(int.class), B.class /* specialCaller */); in testfindSpecial_invokeSuperBehaviour() 166 MethodType.methodType(void.class), B.class /* specialCaller */); in testfindSpecial_invokeSuperBehaviour() 175 MethodType.methodType(void.class), D.class /* specialCaller */); in testfindSpecial_invokeDirectBehaviour() 181 D.lookup.findSpecial(D.class, "privateRyan", MethodType.methodType(void.class), C.class); in testfindSpecial_invokeDirectBehaviour() 188 E.lookup.findSpecial(D.class, "privateRyan", MethodType.methodType(void.class), E.class); in testfindSpecial_invokeDirectBehaviour() 196 MethodType.methodType(String.class, String.class)); in testExceptionDetailMessages() 272 BarImpl.class, "staticMethod", MethodType.methodType(String.class)); in testfindVirtual() [all …]
|
/art/test/958-methodhandle-stackframe/src-art/ |
D | Main.java | 85 Main.class, "testDelegate_allTypes", MethodType.methodType(void.class, in main() 119 Main.class, "testDelegate_returnBoolean", MethodType.methodType(boolean.class)); in main() 127 Main.class, "testDelegate_returnChar", MethodType.methodType(char.class)); in main() 135 Main.class, "testDelegate_returnInt", MethodType.methodType(int.class)); in main() 143 Main.class, "testDelegate_returnLong", MethodType.methodType(long.class)); in main() 151 Main.class, "testDelegate_returnFloat", MethodType.methodType(float.class)); in main() 159 Main.class, "testDelegate_returnDouble", MethodType.methodType(double.class)); in main() 167 Main.class, "testDelegate_returnString", MethodType.methodType(String.class)); in main()
|
/art/test/953-invoke-polymorphic-compiler/src/ |
D | Main.java | 116 Main.class, "Min2Print2", MethodType.methodType(int.class, int.class, int.class)); in $opt$BasicTest() 122 MethodType.methodType(int.class, int.class, int.class, int.class)); in $opt$BasicTest() 129 MethodType.methodType( in $opt$BasicTest() 151 MethodType.methodType( in $opt$BasicTest() 230 MethodType.methodType(boolean.class, boolean.class, boolean.class)); in $opt$ReturnBooleanTest() 241 MethodType.methodType(boolean.class, boolean.class, boolean.class)); in $opt$ReturnBooleanTest() 257 MethodType.methodType(char.class, char.class)); in $opt$ReturnCharTest() 266 MethodType.methodType(byte.class, byte.class, byte.class)); in $opt$ReturnByteTest() 275 MethodType.methodType(short.class, short.class, short.class)); in $opt$ReturnShortTest() 284 MethodType.methodType(int.class, int.class, int.class)); in $opt$ReturnIntTest() [all …]
|
/art/test/1948-obsolete-const-method-handle/util-src/src/art/ |
D | Test1948.java | 36 Test1948.class, "getClassBase64", MethodType.methodType(String.class)); 38 Test1948.class, "getDexBase64", MethodType.methodType(String.class));
|
/art/test/713-varhandle-invokers/src/ |
D | Main.java | 88 MethodType.methodType( in run() 192 MethodType.methodType( in run() 318 MethodType.methodType( in run() 392 MethodType.methodType( in run()
|
/art/test/955-methodhandles-smali/smali/ |
D | Main.smali | 59 # Call MethodType.methodType(rtype=String.class, ptype[0] = String.class) 60 …invoke-static {v1, v1}, Ljava/lang/invoke/MethodType;->methodType(Ljava/lang/Class;Ljava/lang/Clas… 63 # Call Main.getHandleForVirtual(String.class, "concat", methodType); 81 # Call MethodType.methodType(rtype=int.class, ptype[0] = Long.class) 82 …invoke-static {v1, v0}, Ljava/lang/invoke/MethodType;->methodType(Ljava/lang/Class;Ljava/lang/Clas… 86 # Call Main.getHandleForVirtual(Long.class, "compareTo", methodType); 106 # Call MethodType.methodType(rtype=String.class, ptype[0]=Object.class) 107 …invoke-static {v2, v0}, Ljava/lang/invoke/MethodType;->methodType(Ljava/lang/Class;Ljava/lang/Clas… 110 # Call Main.getHandleForStatic(String.class, "valueOf", methodType); 127 # Call MethodType.methodType(rtype=String.class, ptype[0]=Long.class) [all …]
|
/art/test/952-invoke-custom/src/transformer/ |
D | IndyTransformer.java | 116 String methodType = in visitMethod() local 117 MethodType.methodType( in visitMethod() 125 methodType, in visitMethod()
|
/art/test/807-method-handle-and-mr/src/ |
D | Main.java | 33 MethodType.methodType(Long.class, int.class, in Test()
|
/art/test/712-varhandle-invocations/src/ |
D | VarHandleUnitTestHelpers.java | 39 MethodType.methodType(runtimeClass)); in is64Bit() 46 MethodType.methodType(boolean.class)); in is64Bit()
|
/art/test/1948-obsolete-const-method-handle/util-src/src/art/constmethodhandle/ |
D | TestGenerator.java | 165 MethodType mt = MethodType.methodType(Void.TYPE); in generateRunTest()
|
/art/test/dexdump/ |
D | const-method-handle.txt | 85 … |000c: invoke-static {v3, v4}, Ljava/lang/invoke/MethodType;.methodType:(Ljava/lang/Clas…
|