diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-01-19 22:14:21 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-01-19 22:14:21 +0100 |
commit | 5cbdd357446b0805d337c0b96933a54b50570a3e (patch) | |
tree | 90e952063f3d3b030ae574bfc9dd986fab9cc345 /src/core/lombok/javac/handlers/JavacHandlerUtil.java | |
parent | 19d0b8d018877d6121a2c855e830c0472f6c518f (diff) | |
download | lombok-5cbdd357446b0805d337c0b96933a54b50570a3e.tar.gz lombok-5cbdd357446b0805d337c0b96933a54b50570a3e.tar.bz2 lombok-5cbdd357446b0805d337c0b96933a54b50570a3e.zip |
added type mirror fixing for `@XConstructor` and `@Wither`.
Diffstat (limited to 'src/core/lombok/javac/handlers/JavacHandlerUtil.java')
-rw-r--r-- | src/core/lombok/javac/handlers/JavacHandlerUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/handlers/JavacHandlerUtil.java b/src/core/lombok/javac/handlers/JavacHandlerUtil.java index 92042a0a..af6bb48f 100644 --- a/src/core/lombok/javac/handlers/JavacHandlerUtil.java +++ b/src/core/lombok/javac/handlers/JavacHandlerUtil.java @@ -934,7 +934,7 @@ public class JavacHandlerUtil { int idx = 0; for (JCTree def : type.defs) { if (def instanceof JCMethodDecl) { - if ((((JCMethodDecl)def).mods.flags & Flags.GENERATEDCONSTR) != 0) { + if ((((JCMethodDecl) def).mods.flags & Flags.GENERATEDCONSTR) != 0) { JavacNode tossMe = typeNode.getNodeFor(def); if (tossMe != null) tossMe.up().removeChild(tossMe); type.defs = addAllButOne(type.defs, idx); |