/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/ |
D | MethodReferenceRewriter.java | 49 @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/dexlib2/src/main/java/org/jf/dexlib2/util/ |
D | ReferenceUtil.java | 46 public static String getMethodDescriptor(MethodReference methodReference) { in getMethodDescriptor() argument 47 return getMethodDescriptor(methodReference, false); in getMethodDescriptor() 50 …public static String getMethodDescriptor(MethodReference methodReference, boolean useImplicitRefer… in getMethodDescriptor() argument 53 sb.append(methodReference.getDefiningClass()); in getMethodDescriptor() 56 sb.append(methodReference.getName()); in getMethodDescriptor() 58 for (CharSequence paramType: methodReference.getParameterTypes()) { in getMethodDescriptor() 62 sb.append(methodReference.getReturnType()); in getMethodDescriptor() 87 …public static void writeMethodDescriptor(Writer writer, MethodReference methodReference) throws IO… in writeMethodDescriptor() argument 88 writeMethodDescriptor(writer, methodReference, false); in writeMethodDescriptor() 91 public static void writeMethodDescriptor(Writer writer, MethodReference methodReference, in writeMethodDescriptor() argument [all …]
|
D | SyntheticAccessorResolver.java | 92 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()
|
D | MethodUtil.java | 68 public static boolean isConstructor(@Nonnull MethodReference methodReference) { in isConstructor() argument 69 return methodReference.getName().equals("<init>"); in isConstructor()
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
D | MethodReferenceTest.java | 56 …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/ |
D | BuilderMethod.java | 44 @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()
|
D | BuilderMethodPool.java | 54 @Nonnull public BuilderMethodReference internMethod(@Nonnull MethodReference methodReference) { in internMethod() argument 55 BuilderMethodReference ret = internedItems.get(methodReference); in internMethod() 61 dexBuilder.typeSection.internType(methodReference.getDefiningClass()), in internMethod() 62 dexBuilder.stringSection.internString(methodReference.getName()), in internMethod() 63 dexBuilder.protoSection.internMethodProto(methodReference)); in internMethod() 75 return builderMethod.methodReference; in getMethodReference() 89 return builderMethod.methodReference.proto; in getPrototype() 97 return builderMethod.methodReference.index; in getMethodIndex()
|
D | BuilderEncodedValues.java | 194 @Nonnull final BuilderMethodReference methodReference; field in BuilderEncodedValues.BuilderMethodEncodedValue 196 BuilderMethodEncodedValue(@Nonnull BuilderMethodReference methodReference) { in BuilderMethodEncodedValue() argument 197 this.methodReference = methodReference; in BuilderMethodEncodedValue() 201 return methodReference; in getValue()
|
D | BuilderProtoPool.java | 71 …ll public BuilderMethodProtoReference internMethodProto(@Nonnull MethodReference methodReference) { in internMethodProto() argument 73 methodReference.getParameterTypes(), methodReference.getReturnType())); in internMethodProto()
|
D | DexBuilder.java | 275 writer.writeMethod(((BuilderMethodEncodedValue)encodedValue).methodReference);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
D | PoolMethodProto.java | 41 private final MethodReference methodReference; field in PoolMethodProto 43 public PoolMethodProto(MethodReference methodReference) { in PoolMethodProto() argument 44 this.methodReference = methodReference; in PoolMethodProto() 49 return methodReference.getParameterTypes(); in getParameterTypes() 54 return methodReference.getReturnType(); in getReturnType()
|
D | MethodPool.java | 60 …@Nonnull @Override public CharSequence getDefiningClass(@Nonnull MethodReference methodReference) { in getDefiningClass() argument 61 return methodReference.getDefiningClass(); in getDefiningClass() 64 …null @Override public MethodProtoReference getPrototype(@Nonnull MethodReference methodReference) { in getPrototype() argument 65 return new PoolMethodProto(methodReference); in getPrototype() 72 @Nonnull @Override public CharSequence getName(@Nonnull MethodReference methodReference) { in getName() argument 73 return methodReference.getName(); in getName()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/ |
D | ImmutableMethodReference.java | 70 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/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/constraintformulas/ |
D | MethodReferenceThrowsCompatibleWithType.java | 15 private MethodReferenceExpr methodReference; field in MethodReferenceThrowsCompatibleWithType 44 if (!methodReference.equals(that.methodReference)) return false; in equals() 50 int result = methodReference.hashCode(); in hashCode() 58 "methodReference=" + methodReference + in toString()
|
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/ |
D | InterfaceGenerator.java | 298 CodeBlock methodReference = generateMethodReference(crossProfileType, method); in generateMethodOnSingleSenderInterface() local 304 .addJavadoc("Make a call to {@link $L} on the given profile.\n\n", methodReference); in generateMethodOnSingleSenderInterface() 311 methodReference); in generateMethodOnSingleSenderInterface() 315 .addJavadoc("@see $L\n", methodReference) in generateMethodOnSingleSenderInterface() 374 CodeBlock methodReference = generateMethodReference(crossProfileType, method); in generateMethodOnSingleSenderCanThrowInterface() local 381 .addJavadoc("Make a call to {@link $L} on the given profile.\n\n", methodReference) in generateMethodOnSingleSenderCanThrowInterface() 393 methodReference); in generateMethodOnSingleSenderCanThrowInterface() 429 methodBuilder.addJavadoc("@see $L\n", methodReference); in generateMethodOnSingleSenderCanThrowInterface() 502 CodeBlock methodReference = generateMethodReference(crossProfileType, method); in generateBlockingMethodOnMultipleSenderInterface() local 513 .addJavadoc("Make a call to {@link $L} on the given profiles.\n\n", methodReference); in generateBlockingMethodOnMultipleSenderInterface() [all …]
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/instruction/ |
D | SmalideaInstruction.java | 187 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/desugar/java/com/google/devtools/build/android/desugar/ |
D | LambdaInfo.java | 27 Handle methodReference, in create() argument 32 desiredInternalName, factoryMethodDesc, needFactory, methodReference, bridgeMethod); in create() 39 public abstract Handle methodReference(); in methodReference() method in LambdaInfo
|
D | LambdaClassFixer.java | 146 if (!lambdaInfo.bridgeMethod().equals(lambdaInfo.methodReference())) { in visitMethod() 453 !lambdaInfo.methodReference().equals(lambdaInfo.bridgeMethod()), in UseBridgeMethod() 455 lambdaInfo.methodReference(), in UseBridgeMethod() 461 if (!name.equals(lambdaInfo.methodReference().getName()) in visitMethodInsn() 462 || !desc.equals(lambdaInfo.methodReference().getDesc())) { in visitMethodInsn() 468 if (owner.equals(lambdaInfo.methodReference().getOwner())) { in visitMethodInsn() 469 if (lambdaInfo.methodReference().getTag() == Opcodes.H_NEWINVOKESPECIAL in visitMethodInsn() 476 } else if ((lambdaInfo.methodReference().getTag() == Opcodes.H_INVOKEVIRTUAL in visitMethodInsn() 477 || lambdaInfo.methodReference().getTag() == Opcodes.H_INVOKESPECIAL) in visitMethodInsn() 478 && hasAssignableRelation(owner, lambdaInfo.methodReference().getOwner())) { in visitMethodInsn() [all …]
|
D | LambdaDesugaring.java | 435 bridgeInfo.methodReference(), in visitInvokeDynamicInsn() 689 public static MethodReferenceBridgeInfo noBridge(Handle methodReference) { in noBridge() argument 691 methodReference, (Executable) null, methodReference); in noBridge() 695 Handle methodReference, Executable referenced, Handle bridgeMethod) { in bridge() argument 696 checkArgument(!bridgeMethod.equals(methodReference)); in bridge() 698 methodReference, checkNotNull(referenced), bridgeMethod); in bridge() 701 public abstract Handle methodReference(); in methodReference() method in LambdaDesugaring.MethodReferenceBridgeInfo
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/ |
D | CustomMethodInlineTableTest.java | 83 …MethodReference methodReference = (MethodReference)((Instruction35c)deodexedInstruction).getRefere… in testCustomMethodInlineTable_Virtual() local 84 Assert.assertEquals(method, methodReference); in testCustomMethodInlineTable_Virtual() 112 …MethodReference methodReference = (MethodReference)((Instruction35c)deodexedInstruction).getRefere… in testCustomMethodInlineTable_Static() local 113 Assert.assertEquals(method, methodReference); in testCustomMethodInlineTable_Static() 141 …MethodReference methodReference = (MethodReference)((Instruction35c)deodexedInstruction).getRefere… in testCustomMethodInlineTable_Direct() local 142 Assert.assertEquals(method, methodReference); in testCustomMethodInlineTable_Direct()
|
/external/smali/smali/src/main/antlr/ |
D | smaliTreeWalker.g | 518 $method_reference.methodReference); 535 reference = $method_reference.methodReference; 545 method_reference returns[ImmutableMethodReference methodReference] 554 $methodReference = new ImmutableMethodReference(type, $SIMPLE_NAME.text, 754 $reference = $method_reference.methodReference; 1155 ImmutableMethodReference methodReference = $method_reference.methodReference; 1158 … registers[2], registers[3], registers[4], dexBuilder.internMethodReference(methodReference))); 1202 ImmutableMethodReference methodReference = $method_reference.methodReference; 1205 dexBuilder.internMethodReference(methodReference))); 1232 ImmutableMethodReference methodReference = $method_reference.methodReference; [all …]
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
D | MethodDefinition.java | 440 MethodReference methodReference = null; in addInstructionMethodItems() local 442 … methodReference = (MethodReference)((ReferenceInstruction)instruction).getReference(); in addInstructionMethodItems() 448 if (methodReference != null && in addInstructionMethodItems() 449 … SyntheticAccessorResolver.looksLikeSyntheticAccessor(methodReference.getName())) { in addInstructionMethodItems() 451 … classDef.options.syntheticAccessorResolver.getAccessedMember(methodReference); in addInstructionMethodItems()
|
/external/desugar/java/com/google/devtools/build/android/desugar/scan/ |
D | PrefixReferenceScanner.java | 204 void methodReference(String owner, String name, String desc) { in methodReference() method in PrefixReferenceScanner 223 methodReference(handle.getOwner(), handle.getName(), handle.getDesc()); in handleReference() 276 methodReference(owner, name, desc); in visitMethodInsn()
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | InstrumentationConfiguration.java | 279 public Builder addInterceptedMethod(MethodRef methodReference) { in addInterceptedMethod() argument 280 interceptedMethods.add(methodReference); in addInterceptedMethod()
|
/external/smali/smali/src/main/java/org/jf/smali/ |
D | smaliTreeWalker.java | 2880 ImmutableMethodReference methodReference = null; in method_reference() local 2922 …methodReference = new ImmutableMethodReference(type, (SIMPLE_NAME87!=null?SIMPLE_NAME87.getText():… in method_reference() 2935 return methodReference; in method_reference() 6454 ImmutableMethodReference methodReference = method_reference180; in insn_format35c_method() local 6457 … registers[2], registers[3], registers[4], dexBuilder.internMethodReference(methodReference))); in insn_format35c_method() 6605 ImmutableMethodReference methodReference = method_reference189; in insn_format3rc_method() local 6608 dexBuilder.internMethodReference(methodReference))); in insn_format3rc_method() 6710 ImmutableMethodReference methodReference = method_reference195; in insn_format45cc_method() local 6714 dexBuilder.internMethodReference(methodReference), in insn_format45cc_method() 6768 ImmutableMethodReference methodReference = method_reference199; in insn_format4rcc_method() local [all …]
|