PsiClassType () { PsiProvidesStatementStub stub = getStub(); PsiJavaCodeReferenceElement ref = stub != null ? JavaPsiFacade.getElementFactory(getProject()).createReferenceFromText(stub.getInterface(), this) : getInterfaceReference(); return ref != null ? new PsiClassReferenceType(ref, null, PsiAnnotation.EMPTY_ARRAY) : null; }