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