Lombok: Difference between revisions
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
* [https://stackoverflow.com/questions/18139678/ Lombok customise getter for Boolean object field] | * [https://stackoverflow.com/questions/18139678/ Lombok customise getter for Boolean object field] | ||
* [https://objectcomputing.com/resources/publications/sett/january-2010-reducing-boilerplate-code-with-project-lombok Reducing Boilerplate Code with Project Lombok] | * [https://objectcomputing.com/resources/publications/sett/january-2010-reducing-boilerplate-code-with-project-lombok Reducing Boilerplate Code with Project Lombok] | ||
* [https://stackoverflow.com/questions/54220991/ Lombok assign custom logger variable name] | |||
* [https://www.baeldung.com/lombok-custom-annotation Implementing a Custom Lombok Annotation] | * [https://www.baeldung.com/lombok-custom-annotation Implementing a Custom Lombok Annotation] | ||
* [https://projectlombok.org/api/index-all.html Lombok API Documentation] | * [https://projectlombok.org/api/index-all.html Lombok API Documentation] |
Revision as of 08:42, 6 August 2021
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MyPojo {
@Getter(AccessLevel.NONE)
private Boolean xxx;
public Boolean isXxx() {
return xxx;
}
}