diff options
author | Jan Rieke <it@janrieke.de> | 2018-09-11 16:59:29 +0200 |
---|---|---|
committer | Jan Rieke <it@janrieke.de> | 2018-09-11 16:59:29 +0200 |
commit | da59d2d6375afcfcf6cb43288adba61cb99a49e8 (patch) | |
tree | 489a73df6b17b11d4bda2e7cace9b2a8d261db0a /src/core/lombok/javac | |
parent | 1f3688fdba92508e091eab39b6131dbca2a8ef83 (diff) | |
download | lombok-da59d2d6375afcfcf6cb43288adba61cb99a49e8.tar.gz lombok-da59d2d6375afcfcf6cb43288adba61cb99a49e8.tar.bz2 lombok-da59d2d6375afcfcf6cb43288adba61cb99a49e8.zip |
SuperBuilder: generate toBuilder method (ecj)
Diffstat (limited to 'src/core/lombok/javac')
-rw-r--r-- | src/core/lombok/javac/handlers/HandleSuperBuilder.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/lombok/javac/handlers/HandleSuperBuilder.java b/src/core/lombok/javac/handlers/HandleSuperBuilder.java index c8727f93..bdcd043a 100644 --- a/src/core/lombok/javac/handlers/HandleSuperBuilder.java +++ b/src/core/lombok/javac/handlers/HandleSuperBuilder.java @@ -523,7 +523,6 @@ public class HandleSuperBuilder extends JavacAnnotationHandler<SuperBuilder> { JCExpression newClass = maker.NewClass(null, List.<JCExpression>nil(), namePlusTypeParamsToTypeReference(maker, type.toName(builderImplClassName), typeParams), List.<JCExpression>nil(), null); List<JCExpression> methodArgs = List.<JCExpression>of(maker.Ident(type.toName("this"))); JCMethodInvocation invokeFillMethod = maker.Apply(List.<JCExpression>nil(), maker.Select(newClass, type.toName(FILL_VALUES_METHOD_NAME)), methodArgs); -// JCMethodInvocation invokeFillMethod = maker.Apply(List.<JCExpression>nil(), maker.Select(newClass, type.toName(FILL_VALUES_METHOD_NAME)), List.<JCExpression>nil()); JCStatement statement = maker.Return(invokeFillMethod); JCBlock body = maker.Block(0, List.<JCStatement>of(statement)); |