@Override
  protected int doCheck(@NotNull M memberInfo, int problem) {
    final PsiElement member = memberInfo.getMember();
    if(problem == ERROR
            && member instanceof PsiModifierListOwner
            && ((PsiModifierListOwner) member).hasModifierProperty(PsiModifier.STATIC)) {
      return WARNING;
    }
    return problem;
  }
@Override
  protected int doCheck(@NotNull M memberInfo, int problem)