Home
last modified time | relevance | path

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

/external/dagger2/java/dagger/internal/codegen/kotlin/
DKotlinMetadataUtil.java68 VariableElement fieldElement, Class<? extends Annotation> annotationType) { in getSyntheticPropertyAnnotations() argument
70 .create(fieldElement) in getSyntheticPropertyAnnotations()
71 .getSyntheticAnnotationMethod(fieldElement) in getSyntheticPropertyAnnotations()
81 public boolean isMissingSyntheticPropertyForAnnotations(VariableElement fieldElement) { in isMissingSyntheticPropertyForAnnotations() argument
82 return metadataFactory.create(fieldElement).isMissingSyntheticAnnotationMethod(fieldElement); in isMissingSyntheticPropertyForAnnotations()
142 public Optional<ExecutableElement> getPropertyGetter(VariableElement fieldElement) { in getPropertyGetter() argument
143 return metadataFactory.create(fieldElement).getPropertyGetter(fieldElement); in getPropertyGetter()
DKotlinMetadata.java103 Optional<ExecutableElement> getSyntheticAnnotationMethod(VariableElement fieldElement) { in getSyntheticAnnotationMethod() argument
104 return getAnnotationMethod(fieldElement) in getSyntheticAnnotationMethod()
109 "Method for annotations is missing for " + fieldElement); in getSyntheticAnnotationMethod()
119 boolean isMissingSyntheticAnnotationMethod(VariableElement fieldElement) {
120 return getAnnotationMethod(fieldElement)
128 private Optional<MethodForAnnotations> getAnnotationMethod(VariableElement fieldElement) {
130 fieldElement, this::getAnnotationMethodUncached);
133 private Optional<MethodForAnnotations> getAnnotationMethodUncached(VariableElement fieldElement) {
134 return findProperty(fieldElement)
146 Optional<ExecutableElement> getPropertyGetter(VariableElement fieldElement) {
[all …]
/external/dagger2/java/dagger/internal/codegen/binding/
DInjectionAnnotations.java118 VariableElement fieldElement) { in getQualifiersForKotlinProperty() argument
120 if (kotlinMetadataUtil.isMissingSyntheticPropertyForAnnotations(fieldElement)) { in getQualifiersForKotlinProperty()
126 membersInjectorNameForType(asType(fieldElement.getEnclosingElement()))); in getQualifiersForKotlinProperty()
128 String memberInjectedFieldSignature = memberInjectedFieldSignatureForVariable(fieldElement); in getQualifiersForKotlinProperty()
152 "No MembersInjector found for " + fieldElement.getEnclosingElement()); in getQualifiersForKotlinProperty()
155 return kotlinMetadataUtil.getSyntheticPropertyAnnotations(fieldElement, Qualifier.class); in getQualifiersForKotlinProperty()
/external/turbine/java/com/google/turbine/processing/
DTurbineAnnotationMirror.java282 private final TurbineFieldElement fieldElement; field in TurbineAnnotationMirror.TurbineEnumConstant
286 this.fieldElement = factory.fieldElement(value.sym()); in TurbineEnumConstant()
291 return fieldElement; in getValue()
296 return v.visitEnumConstant(fieldElement, p); in accept()
301 return fieldElement.getEnclosingElement() + "." + fieldElement.getSimpleName(); in toString()
DModelFactory.java230 return fieldElement((FieldSymbol) symbol); in element()
245 TurbineFieldElement fieldElement(FieldSymbol symbol) { in fieldElement() method
DTurbineElement.java424 result.add(factory.fieldElement(field.sym()));
/external/dagger2/java/dagger/internal/codegen/validation/
DInjectValidator.java246 private ValidationReport<VariableElement> validateField(VariableElement fieldElement) { in validateField() argument
247 ValidationReport.Builder<VariableElement> builder = ValidationReport.about(fieldElement); in validateField()
248 Set<Modifier> modifiers = fieldElement.getModifiers(); in validateField()
250 builder.addError("@Inject fields may not be final", fieldElement); in validateField()
257 fieldElement); in validateField()
264 fieldElement); in validateField()
267 validateDependencyRequest(builder, fieldElement); in validateField()
/external/dagger2/java/dagger/internal/codegen/
DInjectProcessingStep.java56 public Void visitVariableAsField(VariableElement fieldElement, Void aVoid) { in InjectProcessingStep()
58 MoreElements.asType(fieldElement.getEnclosingElement())); in InjectProcessingStep()
/external/turbine/javatests/com/google/turbine/processing/
DTurbineElementTest.java146 factory.fieldElement( in equals()
148 factory.fieldElement( in equals()
151 factory.fieldElement( in equals()
/external/dagger2/java/dagger/hilt/processor/internal/
DProcessors.java744 VariableElement fieldElement = asVariable(element);
747 metadataUtil.isMissingSyntheticPropertyForAnnotations(fieldElement)
750 .getSyntheticPropertyAnnotations(fieldElement, Qualifier.class)