SmartTypePointer (@NotNull PsiClassType classType) { for (ClassTypePointerFactory factory : ClassTypePointerFactory.EP_NAME.getExtensionList()) { SmartTypePointer pointer = factory.createClassTypePointer(classType, myProject); if (pointer != null) { return pointer; } } return new SimpleTypePointer(classType); }