public Iterable<FieldAccessor> ownedOrMixedIn(){
  if (getter != null) {
    if (setter != null) {
      return Arrays.asList(getter,setter);
    }
 else {
      return singletonList(getter);
    }
  }
 else   if (setter != null) {
    return singletonList(setter);
  }
  return emptyList();
}

public Iterable < FieldAccessor > ownedOrMixedIn ( ) { if ( getter != null ) { if ( setter != null ) { return Arrays . asList ( getter , setter ) ; } else { return singletonList ( getter ) ; } } else if ( setter != null ) { return singletonList ( setter ) ; } return emptyList ( ) ; }
returns the getter and setter as iterable , inherited accessors are ignored .
