These are OK in the sense that they complete without error and unparse to the same query, but JavaToSQLValueNode and StaticMethodCallNode should probably have different names
Allow multiple type casts, for example <boolean>::INT::REAL