mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 06:16:14 +00:00
[issue #278]: Assigned final fields and @AllArgsConstructor
In eclipse assigned final fields broke the @AllArgsConstructor. Now they are just skipped as intended.
This commit is contained in:
1 parent
40fe250627
commit
8b283e89e9
1 file changed
+1
-1
@@ -131,7 +131,7 @@ public class HandleConstructor {
|
||||
if (!EclipseHandlerUtil.filterField(fieldDecl)) continue;
|
||||
|
||||
// Skip initialized final fields.
|
||||
if (((fieldDecl.modifiers & ClassFileConstants.AccFinal) != 0) && fieldDecl.initialization != null) return;
|
||||
if (((fieldDecl.modifiers & ClassFileConstants.AccFinal) != 0) && fieldDecl.initialization != null) continue;
|
||||
|
||||
fields.add(child);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user