void (boolean isStatic, @NotNull List<? extends GrField> fields, @NotNull Set<? super GrVariable> initializedFields) { for (GrField field : fields) { if (field.hasModifierProperty(PsiModifier.STATIC) == isStatic && field.getInitializerGroovy() != null) { initializedFields.add(field); } } }