@Override
    protected void scanFile()
    {
        PsiElement first = getFile().getFirstChild();
        if (first != null) {
          final PsiElement child = first.getFirstChild();
          if (child instanceof PsiComment) {
            first = child;
          }
        }
        PsiElement last = first;
        PsiElement next = first;
        while (next != null)
        {
            if (next instanceof PsiComment || next instanceof PsiWhiteSpace)
            {
                next = getNextSibling(next);
            }
            else
            {
                break;
            }
            last = next;
        }

        if (first != null)
        {
            checkComments(first, last, true);
        }
        else
        {
            checkComments(null, null, true);
        }
    }
@Override
    protected void scanFile()