mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 22:16:11 +00:00
[fixes issue #1759] We removed the ‘flag usage’ check on builder instead of replacing it with the non-experimental check about 3 years ago when builder moved out of experimental. The check has now been restored.
This commit is contained in:
1 parent
111d0a5f16
commit
5ec61bb62d
1 file changed
+2
@@ -99,6 +99,8 @@ public class HandleBuilder extends JavacAnnotationHandler<Builder> {
|
||||
}
|
||||
|
||||
@Override public void handle(AnnotationValues<Builder> annotation, JCAnnotation ast, JavacNode annotationNode) {
|
||||
handleFlagUsage(annotationNode, ConfigurationKeys.BUILDER_FLAG_USAGE, "@Builder");
|
||||
|
||||
Builder builderInstance = annotation.getInstance();
|
||||
|
||||
// These exist just to support the 'old' lombok.experimental.Builder, which had these properties. lombok.Builder no longer has them.
|
||||
|
||||
Reference in new issue
Block a user