(Object value)
| 144 | } |
| 145 | |
| 146 | @Override |
| 147 | public UUID sanitizeValue(Object value) { |
| 148 | return switch (value) { |
| 149 | case null -> null; |
| 150 | case UUID uuid -> uuid; |
| 151 | case String str -> UUID.fromString(str); |
| 152 | default -> throw new ConversionException(value, this); |
| 153 | }; |
| 154 | } |
| 155 | |
| 156 | @Override |
| 157 | public UUID implicitCast(Object value) throws IllegalArgumentException, ClassCastException { |
no test coverage detected