public static boolean isExtendedPrimitives(@Nullable PsiPrimitiveType primitiveType) {
    if (primitiveType == null) return false;
    return PsiTypes.booleanType().equals(primitiveType) ||
           PsiTypes.longType().equals(primitiveType) ||
           PsiTypes.doubleType().equals(primitiveType) ||
           PsiTypes.floatType().equals(primitiveType);
  }
public static boolean isExtendedPrimitives(@Nullable PsiPrimitiveType primitiveType)