@Test public void genericEnumTest() { REGISTRY.get(new TypeT<Tuple1<MyEnum>>() {}); }
@Override public <T> StructuredCodec<T> get(Type type) { return doGet(RecursiveType.of(type)); }
CodecRegistry implements CodecFactory { @Override public <T> StructuredCodec<T> get(Type type) { return doGet(RecursiveType.of(type)); } }
CodecRegistry implements CodecFactory { @Override public <T> StructuredCodec<T> get(Type type) { return doGet(RecursiveType.of(type)); } private  CodecRegistry(); }
CodecRegistry implements CodecFactory { @Override public <T> StructuredCodec<T> get(Type type) { return doGet(RecursiveType.of(type)); } private  CodecRegistry(); static CodecRegistry create(); static CodecRegistry createDefault(); CodecRegistry with(Class<T> type, StructuredCodec<T> codec); CodecRegistry with(Class<T> type, Function<CodecFactory, StructuredCodec<T>> codec); @SuppressWarnings("unchecked") CodecRegistry withGeneric(Class<T> type, BiFunction<CodecFactory, StructuredCodec<Object>[], StructuredCodec<? extends T>> fn); CodecRegistry withSubtypesOf(Class<T> type); @SuppressWarnings("unchecked") CodecRegistry withSubtypesOf(Class<T> type, Function<Class<? extends T>, @Nullable String> subtypeNameFactory); @Override StructuredCodec<T> get(Type type); }
CodecRegistry implements CodecFactory { @Override public <T> StructuredCodec<T> get(Type type) { return doGet(RecursiveType.of(type)); } private  CodecRegistry(); static CodecRegistry create(); static CodecRegistry createDefault(); CodecRegistry with(Class<T> type, StructuredCodec<T> codec); CodecRegistry with(Class<T> type, Function<CodecFactory, StructuredCodec<T>> codec); @SuppressWarnings("unchecked") CodecRegistry withGeneric(Class<T> type, BiFunction<CodecFactory, StructuredCodec<Object>[], StructuredCodec<? extends T>> fn); CodecRegistry withSubtypesOf(Class<T> type); @SuppressWarnings("unchecked") CodecRegistry withSubtypesOf(Class<T> type, Function<Class<? extends T>, @Nullable String> subtypeNameFactory); @Override StructuredCodec<T> get(Type type);  }