Home
last modified time | relevance | path

Searched refs:methodReference (Results 1 – 23 of 23) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DReferenceUtil.java43 public static String getMethodDescriptor(MethodReference methodReference) { in getMethodDescriptor() argument
44 return getMethodDescriptor(methodReference, false); in getMethodDescriptor()
47 …public static String getMethodDescriptor(MethodReference methodReference, boolean useImplicitRefer… in getMethodDescriptor() argument
50 sb.append(methodReference.getDefiningClass()); in getMethodDescriptor()
53 sb.append(methodReference.getName()); in getMethodDescriptor()
55 for (CharSequence paramType: methodReference.getParameterTypes()) { in getMethodDescriptor()
59 sb.append(methodReference.getReturnType()); in getMethodDescriptor()
63 …public static void writeMethodDescriptor(Writer writer, MethodReference methodReference) throws IO… in writeMethodDescriptor() argument
64 writeMethodDescriptor(writer, methodReference, false); in writeMethodDescriptor()
67 public static void writeMethodDescriptor(Writer writer, MethodReference methodReference, in writeMethodDescriptor() argument
[all …]
DSyntheticAccessorResolver.java92 public AccessedMember getAccessedMember(@Nonnull MethodReference methodReference) { in getAccessedMember() argument
93 String methodDescriptor = ReferenceUtil.getMethodDescriptor(methodReference); in getAccessedMember()
100 String type = methodReference.getDefiningClass(); in getAccessedMember()
111 if (methodReferenceEquals(method, methodReference)) { in getAccessedMember()
DMethodUtil.java68 public static boolean isConstructor(@Nonnull MethodReference methodReference) { in isConstructor() argument
69 return methodReference.getName().equals("<init>"); in isConstructor()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
DMethodReferenceRewriter.java49 @Nonnull @Override public MethodReference rewrite(@Nonnull MethodReference methodReference) { in rewrite() argument
50 return new RewrittenMethodReference(methodReference); in rewrite()
54 @Nonnull protected MethodReference methodReference; field in MethodReferenceRewriter.RewrittenMethodReference
56 public RewrittenMethodReference(@Nonnull MethodReference methodReference) { in RewrittenMethodReference() argument
57 this.methodReference = methodReference; in RewrittenMethodReference()
61 return rewriters.getTypeRewriter().rewrite(methodReference.getDefiningClass()); in getDefiningClass()
65 return methodReference.getName(); in getName()
70 Lists.transform(methodReference.getParameterTypes(), in getParameterTypes()
79 return rewriters.getTypeRewriter().rewrite(methodReference.getReturnType()); in getReturnType()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DMethodReferenceTest.java56 …SmaliMethodReference methodReference = (SmaliMethodReference)configureByFileText(text, "blah.smali… in testJavaReferenceFromSmali() local
58 Assert.assertNotNull(methodReference); in testJavaReferenceFromSmali()
59 Assert.assertEquals("nanoTime", methodReference.getName()); in testJavaReferenceFromSmali()
61 PsiMethod resolvedMethod = (PsiMethod)methodReference.resolve(); in testJavaReferenceFromSmali()
89 …SmaliMethodReference methodReference = (SmaliMethodReference)configureByFileText(text, "blah.smali… in testSmaliReferenceFromSmali() local
91 Assert.assertNotNull(methodReference); in testSmaliReferenceFromSmali()
92 Assert.assertEquals("blort", methodReference.getName()); in testSmaliReferenceFromSmali()
94 PsiMethod resolvedMethod = (PsiMethod)methodReference.resolve(); in testSmaliReferenceFromSmali()
122 PsiReference methodReference = configureByFileText(text, "blah.java"); in testSmaliReferenceFromJava() local
124 Assert.assertNotNull(methodReference); in testSmaliReferenceFromJava()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderMethod.java44 @Nonnull final BuilderMethodReference methodReference; field in BuilderMethod
53 BuilderMethod(@Nonnull BuilderMethodReference methodReference, in BuilderMethod() argument
58 this.methodReference = methodReference; in BuilderMethod()
65 …@Override @Nonnull public String getDefiningClass() { return methodReference.definingClass.getType… in getDefiningClass()
66 @Override @Nonnull public String getName() { return methodReference.name.getString(); } in getName()
67 …@Override @Nonnull public BuilderTypeList getParameterTypes() { return methodReference.proto.param… in getParameterTypes()
68 …@Nonnull @Override public String getReturnType() { return methodReference.proto.returnType.getType… in getReturnType()
DBuilderMethodPool.java55 @Nonnull public BuilderMethodReference internMethod(@Nonnull MethodReference methodReference) { in internMethod() argument
56 BuilderMethodReference ret = internedItems.get(methodReference); in internMethod()
62 context.typePool.internType(methodReference.getDefiningClass()), in internMethod()
63 context.stringPool.internString(methodReference.getName()), in internMethod()
64 context.protoPool.internProto(methodReference)); in internMethod()
86 return builderMethod.methodReference.proto; in getPrototype()
94 return builderMethod.methodReference.index; in getMethodIndex()
DBuilderEncodedValues.java192 @Nonnull final BuilderMethodReference methodReference; field in BuilderEncodedValues.BuilderMethodEncodedValue
194 BuilderMethodEncodedValue(@Nonnull BuilderMethodReference methodReference) { in BuilderMethodEncodedValue() argument
195 this.methodReference = methodReference; in BuilderMethodEncodedValue()
199 return methodReference; in getValue()
DBuilderProtoPool.java73 @Nonnull public BuilderProtoReference internProto(@Nonnull MethodReference methodReference) { in internProto() argument
74 return internProto(methodReference.getParameterTypes(), methodReference.getReturnType()); in internProto()
DDexBuilder.java254 writer.writeMethod(((BuilderMethodEncodedValue)encodedValue).methodReference);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/
DImmutableMethodReference.java70 public static ImmutableMethodReference of(@Nonnull MethodReference methodReference) { in of() argument
71 if (methodReference instanceof ImmutableMethodReference) { in of()
72 return (ImmutableMethodReference)methodReference; in of()
75 methodReference.getDefiningClass(), in of()
76 methodReference.getName(), in of()
77 methodReference.getParameterTypes(), in of()
78 methodReference.getReturnType()); in of()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DMethodPool.java61 …@Nonnull @Override public CharSequence getDefiningClass(@Nonnull MethodReference methodReference) { in getDefiningClass() argument
62 return methodReference.getDefiningClass(); in getDefiningClass()
65 @Nonnull @Override public ProtoPool.Key getPrototype(@Nonnull MethodReference methodReference) { in getPrototype() argument
66 return new ProtoPool.Key(methodReference); in getPrototype()
73 @Nonnull @Override public CharSequence getName(@Nonnull MethodReference methodReference) { in getName() argument
74 return methodReference.getName(); in getName()
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/instruction/
DSmalideaInstruction.java187 SmaliMethodReference methodReference = psiInstruction.getMethodReference(); in getReference() local
188 assert methodReference != null; in getReference()
189 String containingClass = methodReference.getContainingType().getText(); in getReference()
191 … Lists.transform(methodReference.getParameterTypes(), new Function<PsiType, String>() { in getReference()
201 methodReference.getName(), in getReference()
203 methodReference.getReturnType().getText()); in getReference()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
DCustomMethodInlineTableTest.java80 …MethodReference methodReference = (MethodReference)((Instruction35c)deodexedInstruction).getRefere… in testCustomMethodInlineTable_Virtual() local
81 Assert.assertEquals(method, methodReference); in testCustomMethodInlineTable_Virtual()
107 …MethodReference methodReference = (MethodReference)((Instruction35c)deodexedInstruction).getRefere… in testCustomMethodInlineTable_Static() local
108 Assert.assertEquals(method, methodReference); in testCustomMethodInlineTable_Static()
134 …MethodReference methodReference = (MethodReference)((Instruction35c)deodexedInstruction).getRefere… in testCustomMethodInlineTable_Direct() local
135 Assert.assertEquals(method, methodReference); in testCustomMethodInlineTable_Direct()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DMethodDefinition.java439 MethodReference methodReference = null; in addInstructionMethodItems() local
441methodReference = (MethodReference)((ReferenceInstruction)instruction).getReference(); in addInstructionMethodItems()
447 if (methodReference != null && in addInstructionMethodItems()
448 … SyntheticAccessorResolver.looksLikeSyntheticAccessor(methodReference.getName())) { in addInstructionMethodItems()
450 … classDef.options.syntheticAccessorResolver.getAccessedMember(methodReference); in addInstructionMethodItems()
/external/smali/smali/src/main/antlr/
DsmaliTreeWalker.g504 method_reference returns[ImmutableMethodReference methodReference]
513 $methodReference = new ImmutableMethodReference(type, $SIMPLE_NAME.text,
725 $reference = $method_reference.methodReference;
902 ImmutableMethodReference methodReference = $method_reference.methodReference;
905 dexBuilder.internMethodReference(methodReference)));
1134 ImmutableMethodReference methodReference = $method_reference.methodReference;
1137 … registers[2], registers[3], registers[4], dexBuilder.internMethodReference(methodReference)));
1164 ImmutableMethodReference methodReference = $method_reference.methodReference;
1167 dexBuilder.internMethodReference(methodReference)));
1355 $value = $method_reference.methodReference;
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliTreeWalker.java2452 ImmutableMethodReference methodReference = null; in method_reference() local
2494methodReference = new ImmutableMethodReference(type, (SIMPLE_NAME78!=null?SIMPLE_NAME78.getText():… in method_reference()
2507 return methodReference; in method_reference()
5122 ImmutableMethodReference methodReference = method_reference133; in insn_format21c_method() local
5125 dexBuilder.internMethodReference(methodReference))); in insn_format21c_method()
5976 ImmutableMethodReference methodReference = method_reference176; in insn_format35c_method() local
5979 … registers[2], registers[3], registers[4], dexBuilder.internMethodReference(methodReference))); in insn_format35c_method()
6076 ImmutableMethodReference methodReference = method_reference182; in insn_format3rc_method() local
6079 dexBuilder.internMethodReference(methodReference))); in insn_format3rc_method()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexWriter.java205 for (Entry<? extends MethodRefKey, Integer> methodReference: methodSection.getItems()) {
206 methodReferences.add(ReferenceUtil.getMethodDescriptor(methodReference.getKey()));
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DMethodAnalyzer.java1347 MethodReference methodReference = (MethodReference)instruction.getReference();
1349 if (!methodReference.getName().equals("<init>")) {
/external/robolectric/v3/
Drobolectric-3.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/robolectric/ org/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.pde.api.tools_1.0.202.v20100820_r361.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.11.0.v20150602-1242.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...