public static @Nullable UUID fromString(String s) {
        try {
            return UUID.fromString(s);
        } catch (IllegalArgumentException e) {
            return null;
        }
    }
Utilities for working with {@link UUID}s.
common/src/main/java/me/lucko/luckperms/common/util/Uuids.java