aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse/handlers/singulars
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-01-21 01:11:26 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-01-21 01:11:26 +0100
commitcd139f46355ea01276c2ae13248a2aca5111678a (patch)
tree4216fb7f8aab71bc14496794562feb6106b1d07c /src/core/lombok/eclipse/handlers/singulars
parentef60d1af001204622b428e78894c967a9aee7e91 (diff)
downloadlombok-cd139f46355ea01276c2ae13248a2aca5111678a.tar.gz
lombok-cd139f46355ea01276c2ae13248a2aca5111678a.tar.bz2
lombok-cd139f46355ea01276c2ae13248a2aca5111678a.zip
[@Singular @Builder] Our recipe for guava builders did not work in javac 1.7 and below; fixed.
Diffstat (limited to 'src/core/lombok/eclipse/handlers/singulars')
-rw-r--r--src/core/lombok/eclipse/handlers/singulars/EclipseGuavaSingularizer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lombok/eclipse/handlers/singulars/EclipseGuavaSingularizer.java b/src/core/lombok/eclipse/handlers/singulars/EclipseGuavaSingularizer.java
index 8d54da6f..3b2ca875 100644
--- a/src/core/lombok/eclipse/handlers/singulars/EclipseGuavaSingularizer.java
+++ b/src/core/lombok/eclipse/handlers/singulars/EclipseGuavaSingularizer.java
@@ -205,6 +205,7 @@ abstract class EclipseGuavaSingularizer extends EclipseSingularizer {
emptyInvoke = new MessageSend();
emptyInvoke.selector = new char[] {'o', 'f'};
emptyInvoke.receiver = new QualifiedNameReference(makeGuavaTypeName(getSimpleTargetTypeName(data), false), NULL_POSS, 0, 0);
+ emptyInvoke.typeArguments = createTypeArgs(mapMode ? 2 : 1, false, builderType, data.getTypeArgs());
}
MessageSend invokeBuild; {