Lombok: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 19: Line 19:
* [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]
* [https://projectlombok.org/api/lombok/extern/slf4j/Slf4j.html <code>@Slf4j</code> Examples]
* [https://projectlombok.org/ Project Lombok]
* [https://projectlombok.org/ Project Lombok]

Revision as of 08:17, 6 August 2021

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MyPojo {

    @Getter(AccessLevel.NONE)
    private Boolean xxx;

    public Boolean isXxx() {
        return xxx;
    }
}

References