List<GrField> (@NotNull GrTypeDefinition clazz) { final GrField[] fields = clazz.getCodeFields(); return ContainerUtil.filter(fields, field -> { final GrModifierList list = field.getModifierList(); return list != null && list.hasModifierProperty(PsiModifier.FINAL); }); }