/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | InjectMethodValidator.java | 53 ValidationReport<ExecutableElement> validate(ExecutableElement methodElement) { in validate() argument 54 ValidationReport.Builder<ExecutableElement> builder = ValidationReport.about(methodElement); in validate() 55 Set<Modifier> modifiers = methodElement.getModifiers(); in validate() 57 builder.addError(ABSTRACT_INJECT_METHOD, methodElement); in validate() 61 builder.addItem(PRIVATE_INJECT_METHOD, privateMemberValidationKind, methodElement); in validate() 65 builder.addItem(STATIC_INJECT_METHOD, staticMemberValidationKind, methodElement); in validate() 68 if (!methodElement.getTypeParameters().isEmpty()) { in validate() 69 builder.addError(GENERIC_INJECT_METHOD, methodElement); in validate() 72 for (VariableElement parameter : methodElement.getParameters()) { in validate() 76 builder.addError(MULTIPLE_QUALIFIERS, methodElement, qualifier); in validate()
|
D | MembersInjectionBinding.java | 134 ExecutableElement methodElement, DeclaredType containingType) { in injectionSiteForInjectMethod() argument 135 checkNotNull(methodElement); in injectionSiteForInjectMethod() 136 checkArgument(methodElement.getKind().equals(ElementKind.METHOD)); in injectionSiteForInjectMethod() 138 MoreTypes.asExecutable(types.asMemberOf(containingType, methodElement)); in injectionSiteForInjectMethod() 141 methodElement, in injectionSiteForInjectMethod() 143 containingType, methodElement.getParameters(), resolved.getParameterTypes())); in injectionSiteForInjectMethod()
|
D | ModuleProcessingStep.java | 102 for (ExecutableElement methodElement : moduleMethods) { in process() 103 if (isAnnotationPresent(methodElement, Provides.class)) { in process() 104 moduleProvidesMethodsBuilder.add(methodElement); in process()
|
D | InjectProcessingStep.java | 125 public Void visitExecutableAsMethod(ExecutableElement methodElement, Void p) { in process() 127 methodValidator.validate(methodElement); in process() 133 MoreTypes.asDeclared(methodElement.getEnclosingElement().asType())); in process()
|
D | ProducerModuleProcessingStep.java | 105 for (ExecutableElement methodElement : moduleMethods) { in process() 106 if (isAnnotationPresent(methodElement, Produces.class)) { in process() 107 moduleProducesMethodsBuilder.add(methodElement); in process()
|
D | ProvidesMethodValidator.java | 161 ExecutableElement methodElement) { in validateMethodQualifiers() argument 162 ImmutableSet<? extends AnnotationMirror> qualifiers = getQualifiers(methodElement); in validateMethodQualifiers() 165 builder.addError(PROVIDES_OR_PRODUCES_METHOD_MULTIPLE_QUALIFIERS, methodElement, qualifier); in validateMethodQualifiers()
|
D | ComponentHierarchyValidator.java | 56 subcomponentMethodDescriptor.methodElement().getParameters()) { in validateSubcomponentMethods()
|
D | BindingGraph.java | 216 subcomponentMethodDescriptor.methodElement(), 244 subcomponentEntry.getKey().methodElement(),
|
D | ComponentDescriptor.java | 206 abstract ExecutableElement methodElement(); in methodElement() method in ComponentDescriptor.ComponentMethodDescriptor
|
D | BindingGraphValidator.java | 181 entry.getKey().methodElement(), entry.getValue().componentDefinitionType()); in validateSubgraph()
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
D | SmaliMethodTest.java | 58 SmaliMethod methodElement = (SmaliMethod)leafElement.getParent(); in testMethodRegisters() local 59 Assert.assertNotNull(methodElement); in testMethodRegisters() 61 Assert.assertEquals(123, methodElement.getRegisterCount()); in testMethodRegisters() 62 Assert.assertEquals(1, methodElement.getParameterRegisterCount()); in testMethodRegisters() 78 SmaliMethod methodElement = (SmaliMethod)leafElement.getParent(); in testMethodRegisters2() local 79 Assert.assertNotNull(methodElement); in testMethodRegisters2() 81 Assert.assertEquals(128, methodElement.getRegisterCount()); in testMethodRegisters2() 82 Assert.assertEquals(5, methodElement.getParameterRegisterCount()); in testMethodRegisters2()
|