Files
lombok/test/transform/resource/before/BuilderInvalidUse.java
T
Reinier Zwitserloot 7af9add999 * Fixed issues with @FieldDefaults and @Value (you can NOT override
@Value's final-by-default and private-by-default with it; now
appropriate warnings are emitted)
* Builder now errors out on presence of most lombok annotations on an
explicit builder class.
* Builder now takes @FieldDefaults/@Value into account.
* Builder on type now generates the constructor as package private
instead of private to avoid synthetic accessor constructors.
* added a bunch of test cases.
* added a test case feature: If the expected file is omitted entirely
but there are expected messages, the differences in the output itself
are ignored.
* streamlined checking for boolean-ness (removed some duplicate code)
* added 'fluent' and 'chain' to @Builder.
2013-07-16 00:51:31 +02:00

18 lines
442 B
Java

@lombok.experimental.Builder
class BuilderInvalidUse {
private int something;
@lombok.Getter @lombok.Setter @lombok.experimental.FieldDefaults(makeFinal = true) @lombok.experimental.Wither @lombok.Data @lombok.ToString @lombok.EqualsAndHashCode
@lombok.AllArgsConstructor
public static class BuilderInvalidUseBuilder {
}
}
@lombok.experimental.Builder
class AlsoInvalid {
@lombok.Value
public static class AlsoInvalidBuilder {
}
}