private void visitVariable(@NotNull PsiVariable variable, @Nullable PsiClass containingClass) {
      if (!SerializationUtils.isSerializable(containingClass)) return;
      if (!"serialPersistentFields".equals(variable.getName())) return;
      boolean rightReturnType = variable.getType().equalsToText("java.io.ObjectStreamField[]");
      if (rightReturnType && variable.hasModifierProperty(STATIC) && variable.hasModifierProperty(PRIVATE) &&
          variable.hasModifierProperty(FINAL)) {
        return;
      }
      registerVariableError(variable);
    }
private void visitVariable(@NotNull PsiVariable variable, @Nullable PsiClass containingClass)