Lombok: Difference between revisions
Jump to navigation
Jump to search
Line 27: | Line 27: | ||
{| | {| | ||
| valign="top" | | | 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://projectlombok.org/features/GetterLazy Lombok features <code>@Getter(lazy=true)</code>] | * [https://projectlombok.org/features/GetterLazy Lombok » features <code>@Getter(lazy=true)</code>] | ||
* [https://projectlombok.org/features/experimental/all Lombok experimental features] | * [https://projectlombok.org/features/experimental/all Lombok » experimental features] | ||
* [https://projectlombok.org/features/Builder Lombok features <code>@Builder</code>] | * [https://projectlombok.org/features/Builder Lombok » features <code>@Builder</code>] | ||
* [https://projectlombok.org/features/With Lombok features <code>@With</code>] | * [https://projectlombok.org/features/With Lombok » features <code>@With</code>] | ||
* [https://projectlombok.org/features/log Lombok features <code>@Log</code>] | * [https://projectlombok.org/features/log Lombok » features <code>@Log</code>] | ||
* [https://projectlombok.org/features/all Lombok stable features] | * [https://projectlombok.org/features/all Lombok » stable features] | ||
* [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] | ||
| valign="top" | | | valign="top" | | ||
* [https://stackoverflow.com/questions/44948858/ Lombok <code>@builder</code> on a class that extends another class] | * [https://stackoverflow.com/questions/44948858/ Lombok » <code>@builder</code> on a class that extends another class] | ||
* [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://stackoverflow.com/questions/53866929/ Unable to use Lombok with '''Java 11'''] | ||
* [https://www.baeldung.com/lombok-builder-inheritance Lombok @Builder with Inheritance] | * [https://www.baeldung.com/lombok-builder-inheritance Lombok » @Builder with Inheritance] | ||
* [https://blog.ippon.tech/comparing-java-lts-releases/ Comparing Java LTS Releases] | * [https://blog.ippon.tech/comparing-java-lts-releases/ Comparing Java LTS Releases] | ||
* [https://projectlombok.org/api/index-all.html Lombok API Documentation] | * [https://projectlombok.org/api/index-all.html Lombok » API Documentation] | ||
* [https://projectlombok.org/setup/eclipse Lombok Plugins for IDE] | * [https://stackoverflow.com/questions/61979940/ Lombok » Private Constructor] | ||
* [https://projectlombok.org/setup/eclipse Lombok » Plugins for IDE] | |||
* [https://projectlombok.org/ Project Lombok] | * [https://projectlombok.org/ Project Lombok] | ||
* [[MapStruct]] | * [[MapStruct]] | ||
|} | |} |
Revision as of 00:29, 22 August 2022
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MyPojo {
@Getter(AccessLevel.NONE)
private Boolean xxx;
public Boolean isXxx() {
return xxx;
}
}
Maven Dependency
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.10</version>
<scope>provided</scope>
</dependency>