You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggest create a Enum option "non_transient" as showed below
public boolean isVisible(Member m) {
switch (this) {
case ANY:
return true;
case NONE:
return false;
case NON_TRANSIENT:
return (!Modifier.isTransient(m.getModifiers()));
The text was updated successfully, but these errors were encountered:
Ah. Based on other discussions, I am guessing that perhaps this is more regarding making transient modifier mean something more similar to @JsonIgnore: since while transient fields are indeed already ignored, they do not cause matching getters to be ignored.
Suggest create a Enum option "non_transient" as showed below
public boolean isVisible(Member m) {
switch (this) {
case ANY:
return true;
case NONE:
return false;
case NON_TRANSIENT:
return (!Modifier.isTransient(m.getModifiers()));
The text was updated successfully, but these errors were encountered: