static bool _Timestamp_canReplaceType(Type self, Type other) { TypeClass cls = Type_getClass(other); return Type_getClass(self) == cls || cls == s_TimestamptzClass; }
/* * java.lang.Boolean type. */ static bool _Boolean_canReplace(Type self, Type other) { TypeClass cls = Type_getClass(other); return Type_getClass(self) == cls || cls == s_booleanClass; }
/* * java.lang.Double type. */ static bool _Double_canReplace(Type self, Type other) { TypeClass cls = Type_getClass(other); return Type_getClass(self) == cls || cls == s_doubleClass; }
/* * java.lang.Integer type. */ static bool _Integer_canReplace(Type self, Type other) { TypeClass cls = Type_getClass(other); return Type_getClass(self) == cls || cls == s_intClass; }