Lombok: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
private Boolean xxx; | private Boolean xxx; | ||
public Boolean | public Boolean isXxx() { | ||
return xxx; | return xxx; | ||
} | } |
Revision as of 17:28, 5 August 2021
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MyPojo {
@Getter(AccessLevel.NONE)
private Boolean xxx;
public Boolean isXxx() {
return xxx;
}
}