Lombok: Difference between revisions
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
==References== | ==References== | ||
{| | |||
| valign="top" | | |||
* [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://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://stackoverflow.com/questions/53866929/ Unable to use Lombok with Java 11] | |||
* [https://projectlombok.org/api/index-all.html Lombok API Documentation] | * [https://projectlombok.org/api/index-all.html Lombok API Documentation] | ||
* [https://projectlombok.org/features/With Lombok features <code>@With</code>] | * [https://projectlombok.org/features/With Lombok features <code>@With</code>] | ||
Line 24: | Line 27: | ||
* [https://projectlombok.org/api/lombok/extern/slf4j/Slf4j.html <code>@Slf4j</code> Examples] | * [https://projectlombok.org/api/lombok/extern/slf4j/Slf4j.html <code>@Slf4j</code> Examples] | ||
* [https://projectlombok.org/ Project Lombok] | * [https://projectlombok.org/ Project Lombok] | ||
| valign="top" | | |||
|} |
Revision as of 00:06, 7 August 2021
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MyPojo {
@Getter(AccessLevel.NONE)
private Boolean xxx;
public Boolean isXxx() {
return xxx;
}
}