ExpectedTypeInfo (String className, @ExpectedTypeInfo.Type int kind) { PsiType type = getJavaFacade().getElementFactory().createTypeByFQClassName(className, GlobalSearchScope.allScope(getProject())); return ExpectedTypesProvider.createInfo(type, kind, type, TailTypes.noneType()); }