@Override
    public void visitClass(@NotNull PsiClass aClass) {
      if (myCompiledMethod == null) {
        if (ContainerUtil.exists(getClassReferences(aClass, SourcePosition.createFromElement(aClass)),
                                 referenceType -> referenceType.name().equals(myClassName))) {
          myCompiledClass = aClass;
        }

        aClass.acceptChildren(this);
      }
    }
@Override
    public void visitClass(@NotNull PsiClass aClass)