private static Visibility getSetterVisibility(KmProperty prop) {
      KmPropertyAccessorAttributes setter = prop.getSetter();
      return setter != null? Attributes.getVisibility(setter) : Visibility.PUBLIC /*use default visibility if setter is not defined*/;
    }
private static Visibility getSetterVisibility(KmProperty prop)