String (@Nullable PsiType type) { if(type == null) return null; if(type instanceof PsiPrimitiveType) { if(type.equals(PsiTypes.intType())) return CommonClassNames.JAVA_UTIL_STREAM_INT_STREAM; if(type.equals(PsiTypes.longType())) return CommonClassNames.JAVA_UTIL_STREAM_LONG_STREAM; if(type.equals(PsiTypes.doubleType())) return CommonClassNames.JAVA_UTIL_STREAM_DOUBLE_STREAM; return null; } return CommonClassNames.JAVA_UTIL_STREAM_STREAM; }