aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/handlers
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-08-28 00:37:38 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2018-08-28 00:37:54 +0200
commitef90e2ec2dcea35a22959f2c1295517edf090133 (patch)
tree32e8c25055b86ce36d80e5abee150ef862d13e99 /src/core/lombok/javac/handlers
parent572222c54bc379ac322d906c39499e8dd02a4d59 (diff)
downloadlombok-ef90e2ec2dcea35a22959f2c1295517edf090133.tar.gz
lombok-ef90e2ec2dcea35a22959f2c1295517edf090133.tar.bz2
lombok-ef90e2ec2dcea35a22959f2c1295517edf090133.zip
[fixes #1836] superbuilder didn’t play ball with field prefixes, at least in javac.
Diffstat (limited to 'src/core/lombok/javac/handlers')
-rw-r--r--src/core/lombok/javac/handlers/HandleSuperBuilder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/handlers/HandleSuperBuilder.java b/src/core/lombok/javac/handlers/HandleSuperBuilder.java
index 18e74908..b8f572d5 100644
--- a/src/core/lombok/javac/handlers/HandleSuperBuilder.java
+++ b/src/core/lombok/javac/handlers/HandleSuperBuilder.java
@@ -415,7 +415,7 @@ public class HandleSuperBuilder extends JavacAnnotationHandler<SuperBuilder> {
bfd.singularData.getSingularizer().appendBuildCode(bfd.singularData, bfd.originalFieldNode, bfd.type, statements, bfd.name, "b");
rhs = maker.Ident(bfd.singularData.getPluralName());
} else {
- rhs = maker.Select(maker.Ident(builderVariableName), bfd.rawName);
+ rhs = maker.Select(maker.Ident(builderVariableName), bfd.name);
}
JCFieldAccess fieldInThis = maker.Select(maker.Ident(typeNode.toName("this")), bfd.rawName);