mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 14:17:48 +00:00
Clarified previous commit with a comment.
This commit is contained in:
1 parent
3d5f9b9f98
commit
91faa94a90
1 file changed
+1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user