void (@NotNull PsiField field) { super.visitField(field); if (!field.hasModifierProperty(PsiModifier.PUBLIC)) { return; } if (!field.hasModifierProperty(PsiModifier.STATIC)) { return; } final PsiType type = field.getType(); if (!(type instanceof PsiArrayType)) { return; } if (CollectionUtils.isConstantEmptyArray(field)) { return; } registerFieldError(field); }