Searched refs:fieldElement (Results 1 – 10 of 10) sorted by relevance
68 VariableElement fieldElement, Class<? extends Annotation> annotationType) { in getSyntheticPropertyAnnotations() argument70 .create(fieldElement) in getSyntheticPropertyAnnotations()71 .getSyntheticAnnotationMethod(fieldElement) in getSyntheticPropertyAnnotations()81 public boolean isMissingSyntheticPropertyForAnnotations(VariableElement fieldElement) { in isMissingSyntheticPropertyForAnnotations() argument82 return metadataFactory.create(fieldElement).isMissingSyntheticAnnotationMethod(fieldElement); in isMissingSyntheticPropertyForAnnotations()142 public Optional<ExecutableElement> getPropertyGetter(VariableElement fieldElement) { in getPropertyGetter() argument143 return metadataFactory.create(fieldElement).getPropertyGetter(fieldElement); in getPropertyGetter()
103 Optional<ExecutableElement> getSyntheticAnnotationMethod(VariableElement fieldElement) { in getSyntheticAnnotationMethod() argument104 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 …]
118 VariableElement fieldElement) { in getQualifiersForKotlinProperty() argument120 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()
282 private final TurbineFieldElement fieldElement; field in TurbineAnnotationMirror.TurbineEnumConstant286 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()
230 return fieldElement((FieldSymbol) symbol); in element()245 TurbineFieldElement fieldElement(FieldSymbol symbol) { in fieldElement() method
424 result.add(factory.fieldElement(field.sym()));
246 private ValidationReport<VariableElement> validateField(VariableElement fieldElement) { in validateField() argument247 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()
56 public Void visitVariableAsField(VariableElement fieldElement, Void aVoid) { in InjectProcessingStep()58 MoreElements.asType(fieldElement.getEnclosingElement())); in InjectProcessingStep()
146 factory.fieldElement( in equals()148 factory.fieldElement( in equals()151 factory.fieldElement( in equals()
744 VariableElement fieldElement = asVariable(element);747 metadataUtil.isMissingSyntheticPropertyForAnnotations(fieldElement)750 .getSyntheticPropertyAnnotations(fieldElement, Qualifier.class)