@Override
    public void visitResourceList(@NotNull PsiResourceList resourceList) {
      super.visitResourceList(resourceList);
      if (isAcceptable(resourceList)) {
        registerError(resourceList);
      }
    }
@Override
    public void visitResourceList(@NotNull PsiResourceList resourceList)