Home
last modified time | relevance | path

Searched refs:MethodSignature (Results 1 – 25 of 34) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/collect/
DFauxveridesTest.java113 Set<MethodSignature> required = getAllRequiredToFauxveride(ancestor); in doHasAllFauxveridesTest()
114 Set<MethodSignature> found = getAllFauxveridden(descendant, ancestor); in doHasAllFauxveridesTest()
121 private static Set<MethodSignature> getAllRequiredToFauxveride(Class<?> ancestor) { in getAllRequiredToFauxveride()
125 private static Set<MethodSignature> getAllFauxveridden( in getAllFauxveridden()
130 private static Set<MethodSignature> getPublicStaticMethodsBetween( in getPublicStaticMethodsBetween()
132 Set<MethodSignature> methods = newHashSet(); in getPublicStaticMethodsBetween()
139 private static Set<MethodSignature> getPublicStaticMethods(Class<?> clazz) { in getPublicStaticMethods()
140 Set<MethodSignature> publicStaticMethods = newHashSet(); in getPublicStaticMethods()
145 publicStaticMethods.add(new MethodSignature(method)); in getPublicStaticMethods()
171 private static final class MethodSignature class in FauxveridesTest
[all …]
/external/r8/src/test/java/com/android/tools/r8/ir/
DInlineTest.java30 MethodSignature signature = builder.addStaticMethod( in codeForMethodReplaceTest()
40 MethodSignature signatureA = builder.addStaticMethod( in codeForMethodReplaceTest()
49 MethodSignature signatureB = builder.addStaticMethod( in codeForMethodReplaceTest()
127 MethodSignature signature = builder.addStaticMethod( in codeForMethodReplaceReturnVoidTest()
136 MethodSignature signatureA = builder.addStaticMethod( in codeForMethodReplaceReturnVoidTest()
193 MethodSignature signature = builder.addStaticMethod( in codeForMultipleMethodReplaceTest()
207 MethodSignature signatureA = builder.addStaticMethod( in codeForMultipleMethodReplaceTest()
216 MethodSignature signatureB = builder.addStaticMethod( in codeForMultipleMethodReplaceTest()
318 MethodSignature signature = builder.addStaticMethod( in codeForMethodReplaceTestWithCatchHandler()
336 MethodSignature signatureA = builder.addStaticMethod( in codeForMethodReplaceTestWithCatchHandler()
[all …]
DSplitBlockTest.java37 MethodSignature signature = builder.addStaticMethod( in codeWithoutCatchHandlers()
147 MethodSignature signature = builder.addStaticMethod( in codeWithCatchHandlers()
277 MethodSignature signature = builder.addStaticMethod( in codeWithIf()
388 MethodSignature signature = builder.addStaticMethod( in codeWithSwitch()
/external/r8/src/test/java/com/android/tools/r8/smali/
DOutlineTest.java70 MethodSignature firstOutlineMethodSignature( in firstOutlineMethodSignature()
72 return new MethodSignature( in firstOutlineMethodSignature()
89 MethodSignature signature = builder.addStaticMethod( in a()
151 MethodSignature signature = builder.addStaticMethod( in b()
222 MethodSignature signature = builder.addStaticMethod( in c()
280 MethodSignature signature = builder.addStaticMethod( in d()
343 MethodSignature signature = builder.addStaticMethod( in longArguments()
417 MethodSignature signature = builder.addStaticMethod( in doubleArguments()
491 MethodSignature signature = builder.addStaticMethod( in invokeStatic()
503 MethodSignature mainSignature = builder.addMainMethod( in invokeStatic()
[all …]
DSwitchRewritingTest.java61 MethodSignature signature = builder.addStaticMethod( in runSingleCaseDexTest()
115 MethodSignature signature = builder.addStaticMethod( in runTwoCaseSparseToPackedDexTest()
193 MethodSignature signature = builder.addStaticMethod( in runLargerSwitchDexTest()
289 MethodSignature signature = new MethodSignature("Test", "test", "int", ImmutableList.of("int")); in runSingleCaseJarTest()
349 MethodSignature signature = new MethodSignature("Test", "test", "int", ImmutableList.of("int")); in runTwoCaseSparseToPackedJarTest()
422 MethodSignature signature = new MethodSignature("Test", "test", "int", ImmutableList.of("int")); in runLargerSwitchJarTest()
DSmaliTestBase.java60 public static class MethodSignature { class in SmaliTestBase
67 public MethodSignature(String clazz, String name, String returnType, in MethodSignature() method in SmaliTestBase.MethodSignature
213 public MethodSignature addStaticMethod(String returnType, String name, List<String> parameters, in addStaticMethod()
223 public MethodSignature addStaticMethod(String returnType, String name, List<String> parameters, in addStaticMethod()
241 return new MethodSignature(currentClassName, name, returnType, parameters); in addStaticMethod()
244 public MethodSignature addAbstractMethod( in addAbstractMethod()
258 return new MethodSignature(currentClassName, name, returnType, parameters); in addAbstractMethod()
261 public MethodSignature addMainMethod(int locals, String... instructions) { in addMainMethod()
402 protected DexClass getClass(DexApplication application, MethodSignature signature) { in getClass()
416 protected DexEncodedMethod getMethod(DexApplication application, MethodSignature signature) { in getMethod()
DComputeBlockTryRangeTest.java33 MethodSignature methodSig = builder.addStaticMethod( in jumpIntoTryRange()
DJumboStringTest.java38 MethodSignature signature = smaliBuilder.addStaticMethod( in test()
DRunArtSmokeTest.java27 MethodSignature mainSignature = builder.addMainMethod( in test()
/external/r8/src/test/java/com/android/tools/r8/jasmin/
DJasminBuilder.java10 import com.android.tools.r8.naming.MemberNaming.MethodSignature;
36 public MethodSignature addVirtualMethod( in addVirtualMethod()
45 public MethodSignature addPrivateVirtualMethod( in addPrivateVirtualMethod()
54 public MethodSignature addStaticMethod( in addStaticMethod()
62 public MethodSignature addMainMethod(String... lines) { in addMainMethod()
66 private MethodSignature addMethod( in addMethod()
87 return new MethodSignature(name, returnJavaType, argumentJavaTypes); in addMethod()
DDebugLocalTests.java12 import com.android.tools.r8.naming.MemberNaming.MethodSignature;
26 MethodSignature foo = clazz.addVirtualMethod("foo", ImmutableList.of("Ljava/lang/String;"), "V", in testSwap()
122 MethodSignature foo = clazz.addVirtualMethod("foo", ImmutableList.of(), "I", in testNoLocalInfoOnStack()
176 MethodSignature foo = clazz.addStaticMethod("foo", ImmutableList.of("I"), "I", in checkLocalChange()
259 MethodSignature foo = clazz.addStaticMethod("foo", ImmutableList.of("I"), "I", in testLocalManyRanges()
DJumpSubroutineDebugInfoTests.java9 import com.android.tools.r8.naming.MemberNaming.MethodSignature;
21 MethodSignature foo = clazz.addStaticMethod("foo", ImmutableList.of("I"), "I", in testJsrWithStraightlineAndDebugInfoCode()
/external/r8/src/main/java/com/android/tools/r8/naming/
DClassNameMapper.java11 import com.android.tools.r8.naming.MemberNaming.MethodSignature;
44 public MethodSignature getRenamedMethodSignature(DexMethod method) { in getRenamedMethodSignature()
52 MethodSignature signature = new MethodSignature(method.name.toString(), returnType, in getRenamedMethodSignature()
54 return (MethodSignature) canonicalizeSignature(signature); in getRenamedMethodSignature()
154 MethodSignature memberSignature = getRenamedMethodSignature(method); in originalSignatureOf()
DMemberNaming.java262 public static class MethodSignature extends Signature { class in MemberNaming
267 public MethodSignature(String name, String type, String[] parameters) { in MethodSignature() method in MemberNaming.MethodSignature
273 public static MethodSignature fromDexMethod(DexMethod method) { in fromDexMethod()
279 return new MethodSignature(method.name.toSourceString(), in fromDexMethod()
285 return new MethodSignature(renamedName, type, parameters); in asRenamed()
298 if (!(o instanceof MethodSignature)) { in equals()
302 MethodSignature that = (MethodSignature) o; in equals()
DMinifiedNameMapPrinter.java14 import com.android.tools.r8.naming.MemberNaming.MethodSignature;
92 MethodSignature signature = MethodSignature.fromDexMethod(method); in write()
/external/r8/src/test/java/com/android/tools/r8/rewrite/assertions/
DRemoveAssertionsTest.java11 import com.android.tools.r8.naming.MemberNaming.MethodSignature;
35 clazz.method(new MethodSignature("condition", "boolean", new String[]{})); in test()
38 clazz.method(new MethodSignature(Constants.CLASS_INITIALIZER_NAME, "void", new String[]{})); in test()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DMethodSignature.java13 abstract class MethodSignature { class
18 static MethodSignature fromExecutableType(String methodName, ExecutableType methodType) { in fromExecutableType()
/external/r8/src/test/java/com/android/tools/r8/optimize/
DR8DebugStrippingTest.java21 import com.android.tools.r8.naming.MemberNaming.MethodSignature;
75 MAIN_NAME, new MethodSignature(MAIN_NAME, VOID_RETURN, MAIN_PARAMETERS),
76 OTHER_NAME, new MethodSignature(OTHER_NAME, INT_RETURN, NO_PARAMETERS),
77 THIRD_NAME, new MethodSignature(THIRD_NAME, INT_RETURN, LIST_PARAMETER),
78 FORTH_NAME, new MethodSignature(FORTH_NAME, INT_RETURN, STRING_PARAMETER)
/external/r8/src/main/java/com/android/tools/r8/
DPrintClassList.java16 import com.android.tools.r8.naming.MemberNaming.MethodSignature;
65 MethodSignature signature = MethodSignature.fromDexMethod(method); in printMethods()
/external/r8/src/test/java/com/android/tools/r8/utils/
DDexInspector.java63 import com.android.tools.r8.naming.MemberNaming.MethodSignature;
94 public static MethodSignature MAIN =
95 new MethodSignature("main", "void", new String[]{"java.lang.String[]"});
270 public MethodSubject method(MethodSignature signature) { in method()
386 Signature signature = new MethodSignature(name, returnType, in method()
648 public MethodSignature getOriginalSignature() { in getOriginalSignature()
649 MethodSignature signature = getFinalSignature(); in getOriginalSignature()
651 (MethodSignature) clazz.naming.lookup(signature).getOriginalSignature() : in getOriginalSignature()
656 public MethodSignature getFinalSignature() { in getFinalSignature()
657 return MemberNaming.MethodSignature.fromDexMethod(dexMethod.method); in getFinalSignature()
/external/r8/src/test/java/com/android/tools/r8/debuginfo/
DDebugInfoTestBase.java13 import com.android.tools.r8.naming.MemberNaming.MethodSignature;
48 app, type.getCanonicalName(), new MethodSignature(methodName, returnType, parameterTypes)); in inspectMethod()
DDebugInfoInspector.java17 import com.android.tools.r8.naming.MemberNaming.MethodSignature;
44 public DebugInfoInspector(DexInspector inspector, String clazz, MethodSignature method) { in DebugInfoInspector()
48 public DebugInfoInspector(AndroidApp app, String clazz, MethodSignature method) in DebugInfoInspector()
/external/r8/src/test/java/com/android/tools/r8/bisect/
DBisectTest.java13 import com.android.tools.r8.smali.SmaliTestBase.MethodSignature;
34 private MethodSignature erroneousMethodSignature = null;
/external/javassist/src/main/javassist/bytecode/
DSignatureAttribute.java226 public static class MethodSignature { class in SignatureAttribute
232 MethodSignature(TypeParameter[] tp, Type[] p, Type ret, ObjectType[] ex) { in MethodSignature() method in SignatureAttribute.MethodSignature
629 public static MethodSignature toMethodSignature(String sig) throws BadBytecode { in toMethodSignature()
671 private static MethodSignature parseMethodSig(String sig) in parseMethodSig()
700 return new MethodSignature(tp, p, ret, ex); in parseMethodSig()
/external/r8/src/test/java/com/android/tools/r8/memberrebinding/
DMemberRebindingTest.java13 import com.android.tools.r8.naming.MemberNaming.MethodSignature;
198 public static MethodSignature TEST =
199 new MethodSignature("test", "void", new String[]{});

12