};
_declaringType.addMethod(_getterName, _function);
}
public AccessorType getSetterType(final FieldDeclaration it) {
AnnotationReference _elvis = null;
AnnotationReference _accessorsAnnotation = this.getAccessorsAnnotation(it);
if (_accessorsAnnotation != null) {
_elvis = _accessorsAnnotation;
} else {
TypeDeclaration _declaringType = it.getDeclaringType();
AnnotationReference _accessorsAnnotation_1 = this.getAccessorsAnnotation(_declaringType);
_elvis = _accessorsAnnotation_1;
}
final AnnotationReference annotation = _elvis;
boolean _tripleNotEquals = (annotation != null);
if (_tripleNotEquals) {
EnumerationValueDeclaration[] _enumArrayValue = annotation.getEnumArrayValue("value");
final Function1<EnumerationValueDeclaration, AccessorType> _function = new Function1<EnumerationValueDeclaration, AccessorType>() {
public AccessorType apply(final EnumerationValueDeclaration it) {
String _simpleName = it.getSimpleName();
return AccessorType.valueOf(_simpleName);
}