Home
last modified time | relevance | path

Searched refs:variableElement (Results 1 – 10 of 10) sorted by relevance

/external/dagger2/java/dagger/hilt/android/processor/internal/bindvalue/
DBindValueGenerator.java125 + LOWER_CAMEL.to(UPPER_CAMEL, bindValue.variableElement().getSimpleName().toString()); in providesMethod()
130 .returns(ClassName.get(bindValue.variableElement().asType())); in providesMethod()
132 if (bindValue.variableElement().getModifiers().contains(Modifier.STATIC)) { in providesMethod()
134 "return $T.$L", testClassName, bindValue.variableElement().getSimpleName()); in providesMethod()
142 : CodeBlock.of("test.$L", bindValue.variableElement().getSimpleName())); in providesMethod()
DBindValueMetadata.java79 abstract VariableElement variableElement(); in variableElement() method in BindValueMetadata.BindValueElement
/external/dagger2/java/dagger/internal/codegen/binding/
DDependencyRequestFactory.java133 VariableElement variableElement, TypeMirror resolvedType) { in forRequiredResolvedVariable() argument
134 checkNotNull(variableElement); in forRequiredResolvedVariable()
137 checkArgument(!AssistedInjectionAnnotations.isAssistedParameter(variableElement)); in forRequiredResolvedVariable()
138 Optional<AnnotationMirror> qualifier = injectionAnnotations.getQualifier(variableElement); in forRequiredResolvedVariable()
139 return newDependencyRequest(variableElement, resolvedType, qualifier); in forRequiredResolvedVariable()
DAssistedInjectionAnnotations.java208 builder.put(assistedParameter, assistedParameter.variableElement); in assistedInjectAssistedParametersMap()
217 builder.put(assistedParameter, assistedParameter.variableElement); in assistedFactoryAssistedParametersMap()
238 assistedParameter.variableElement = parameter; in create()
242 private VariableElement variableElement; field in AssistedInjectionAnnotations.AssistedParameter
255 public final VariableElement variableElement() { in variableElement() method in AssistedInjectionAnnotations.AssistedParameter
256 return variableElement; in variableElement()
DSourceFiles.java195 public static String memberInjectedFieldSignatureForVariable(VariableElement variableElement) { in memberInjectedFieldSignatureForVariable() argument
196 return MoreElements.asType(variableElement.getEnclosingElement()).getQualifiedName() in memberInjectedFieldSignatureForVariable()
198 + variableElement.getSimpleName(); in memberInjectedFieldSignatureForVariable()
/external/dagger2/java/dagger/internal/codegen/
DAssistedInjectProcessingStep.java80 assistedParameter.variableElement()); in validate()
DAssistedFactoryProcessingStep.java190 assistedParameter.variableElement()); in validate()
/external/auto/common/src/test/java/com/google/auto/common/
DMoreElementsTest.java151 for (Element variableElement : ElementFilter.fieldsIn(stringElement.getEnclosedElements())) { in asVariable()
152 assertThat(MoreElements.asVariable(variableElement)).isEqualTo(variableElement); in asVariable()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DImplementsValidator.java286 for (VariableElement variableElement : methodElement.getParameters()) { in captureJavadoc()
287 documentedMethod.params.add(variableElement.toString()); in captureJavadoc()
DSdkStore.java364 for (VariableElement variableElement : methodElement.getParameters()) { in MethodInfo()
365 TypeMirror varTypeMirror = variableElement.asType(); in MethodInfo()