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:
Reinier Zwitserloot committed 2010-12-31 11:00:49 +01:00
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;