ImmutableText (@NotNull Object obj) { if (obj instanceof ImmutableText) return (ImmutableText)obj; if (obj instanceof CharSequence) return valueOf((CharSequence)obj); return valueOf(String.valueOf(obj)); }