@Override
    public void visitPatternVariable(@NotNull PsiPatternVariable variable) {
      super.visitPatternVariable(variable);
      final PsiClass aClass = LocalVariableHidingMemberVariableInspection.findSurroundingClassWithHiddenField(variable, true, true);
      if (aClass == null) {
        return;
      }
      registerVariableError(variable, aClass);
    }
@Override
    public void visitPatternVariable(@NotNull PsiPatternVariable variable)