UUIDType implements Type<UUID> { @Override public UUID parse(StringReader reader) throws CommandSyntaxException { return UUID.parse(reader); } private  UUIDType(); static UUIDType of(); @Override UUID parse(StringReader reader); @Override ArgumentType<UUID> mapped();  }
@Test void parse() throws CommandSyntaxException { var id = UUID.randomUUID(); assertEquals(id, UUIDType.of().parse(new StringReader(id.toString()))); }