aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-12-15 16:05:06 +0100
committerReinier Zwitserloot <reinier@tipit.to>2009-12-15 16:05:06 +0100
commit91faa94a9088817bc83fc0f6ba55042bfd5c108d (patch)
tree69950a9c0ca2cdfe4905addda6809c32110ce896
parent3d5f9b9f989a13d5f80e0aaced70a205e56e6ff9 (diff)
downloadlombok-91faa94a9088817bc83fc0f6ba55042bfd5c108d.tar.gz
lombok-91faa94a9088817bc83fc0f6ba55042bfd5c108d.tar.bz2
lombok-91faa94a9088817bc83fc0f6ba55042bfd5c108d.zip
Clarified previous commit with a comment.
-rw-r--r--src/core/lombok/javac/handlers/HandleSetter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lombok/javac/handlers/HandleSetter.java b/src/core/lombok/javac/handlers/HandleSetter.java
index 5acb47af..e7f20f6c 100644
--- a/src/core/lombok/javac/handlers/HandleSetter.java
+++ b/src/core/lombok/javac/handlers/HandleSetter.java
@@ -150,6 +150,7 @@ public class HandleSetter implements JavacAnnotationHandler<Setter> {
JCBlock methodBody = treeMaker.Block(0, statements);
Name methodName = field.toName(toSetterName(fieldDecl));
JCVariableDecl param = treeMaker.VarDef(treeMaker.Modifiers(Flags.FINAL, nonNulls.appendList(nullables)), fieldDecl.name, fieldDecl.vartype, null);
+ //WARNING: Do not use field.getSymbolTable().voidType - that field has gone through non-backwards compatible API changes within javac1.6.
JCExpression methodType = treeMaker.Type(new JCNoType(TypeTags.VOID));
List<JCTypeParameter> methodGenericParams = List.nil();