mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 08:15:48 +00:00
Starting eclipse with an open file containing an enum with @Getter on it would cause 1 error log entry to show up. No other effects other than that, but thats ugly and so thats been fixed.
This commit is contained in:
1 parent
fb1d6c0f0d
commit
983d487b59
1 file changed
+2
@@ -298,6 +298,8 @@ public class EclipseHandlerUtil {
|
||||
if (declaration.initialization instanceof AllocationExpression &&
|
||||
((AllocationExpression)declaration.initialization).enumConstant != null) return false;
|
||||
|
||||
if (declaration.type == null) return false;
|
||||
|
||||
// Skip fields that start with $
|
||||
if (declaration.name.length > 0 && declaration.name[0] == '$') return false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user