Files
openide/plugins/lombok/testData/before/builder/BuilderExample.java
Rohan Talip 00afbbe26c Removed the dependency on lombok version 1.16.20, which was used for the experimental versions of the @Builder and @Value annotations. (#551)
* Removed the dependency on lombok version 1.16.20, which was used for the experimental versions of the @Builder and @Value annotations.

@Builder was promoted in lombok from experimental to the main package in v1.16.0 on January 26th, 2015, nearly 4 years ago.
@Value was promoted in lombok from experimental to the main package in v0.12.0 on July 16th, 2013, over 5 years ago.

The experimental versions of @Builder and @Value have been replaced with the main package versions, or otherwise removed where appropriate.

The chain and fluent options to @Builder are now the default, so the BuilderChainAndFluent test was removed.
The ValueExperimental test no longer seems relevant so it was also removed.
Other tests were updated as necessary.

* Removed or updated @SuppressWarnings annotations.  Removed isFluentBuilder() and isChainBuilder() from the BuilderHandler class.

* Removed duplicate Value class annotation.

* Added non-varargs constructors to avoid using @SuppressWarnings annotations, to match AbstractClassProcessor.

GitOrigin-RevId: 6af1652c2a8e48d94bbecf02903574ee64d2779c
2018-12-10 16:52:18 +03:00

8 lines
107 B
Java

import lombok.Builder;
@Builder
public class BuilderExample {
private String name;
private int age;
}