PsiType (TypeConstraint @NotNull [] constraints, @NotNull GlobalSearchScope scope, @NotNull PsiManager manager) { if (constraints.length > 0) return constraints[0].getDefaultType(); return PsiType.getJavaLangObject(manager, scope); }