boolean (@NotNull UClass uClass) { for (UTypeReferenceExpression type : uClass.getUastSuperTypes()) { type.accept(this); } PsiElement sourcePsi = uClass.getSourcePsi(); RefElement refWhat = refManager.getReference(sourcePsi); if (refWhat != null) refWhat.initializeIfNeeded(); refFrom.addReference(refWhat, sourcePsi, decl, false, true, null); return true; }