@Test public void testSerialize() throws Exception { System.out.println(ChatColorUtils.serialize("ABC")); System.out.println(ChatColorUtils.serialize(ChatColor.GOLD + "ABC")); }
public static Object serialize(String string) { return SerializationUtils.serialize(string, ColorStringSerializer.class); }
ChatColorUtils { public static Object serialize(String string) { return SerializationUtils.serialize(string, ColorStringSerializer.class); } }
ChatColorUtils { public static Object serialize(String string) { return SerializationUtils.serialize(string, ColorStringSerializer.class); }  }
ChatColorUtils { public static Object serialize(String string) { return SerializationUtils.serialize(string, ColorStringSerializer.class); }  static ChatColor randomChatColorExcept(@Nonnull char... except); static ChatColor randomChatColorExcept(@Nonnull ChatColor... except); static ChatColor randomChatColorExcept(@Nonnull ChatColor[]... except); static ChatColor randomChatColor(@Nonnull char... colors); static ChatColor randomChatColor(@Nonnull ChatColor... colors); static ChatColor randomChatColor(@Nonnull ChatColor[]... colors); static Object serialize(String string); static String deserialize(String string); static ChatColor getFirstColorFromString(String string); static ChatColor getFirstColorFromString(String string, int index); static List<ChatColor> getPreviousChatColorsFromString(String string, int index,
                                                                ChatColor... ignore); static List<ChatColor> getChatColorsFromString(String string, int startIdx, int endIdx,
                                                        ChatColor... ignore); }
ChatColorUtils { public static Object serialize(String string) { return SerializationUtils.serialize(string, ColorStringSerializer.class); }  static ChatColor randomChatColorExcept(@Nonnull char... except); static ChatColor randomChatColorExcept(@Nonnull ChatColor... except); static ChatColor randomChatColorExcept(@Nonnull ChatColor[]... except); static ChatColor randomChatColor(@Nonnull char... colors); static ChatColor randomChatColor(@Nonnull ChatColor... colors); static ChatColor randomChatColor(@Nonnull ChatColor[]... colors); static Object serialize(String string); static String deserialize(String string); static ChatColor getFirstColorFromString(String string); static ChatColor getFirstColorFromString(String string, int index); static List<ChatColor> getPreviousChatColorsFromString(String string, int index,
                                                                ChatColor... ignore); static List<ChatColor> getChatColorsFromString(String string, int startIdx, int endIdx,
                                                        ChatColor... ignore); static final ChatColor[] STYLES; static final ChatColor[] DARK_COLORS; }