@SuppressWarnings({ "unchecked", "rawtypes" }) @Override public <K, V> GenericType<Map<K, V>> createGenericTypeOfMap(GenericType<K> keyType, GenericType<V> valueType) { return (GenericType) createGenericType(Map.class); }
@Override protected void doInitialized() { super.doInitialized(); if (instance == null) { instance = this; } }
@SuppressWarnings({ "unchecked", "rawtypes" }) @Override public <E> GenericType<Set<E>> createGenericTypeOfSet(GenericType<E> elementType) { return (GenericType) createGenericType(Set.class); }
@SuppressWarnings({ "unchecked", "rawtypes" }) @Override public <E> GenericType<List<E>> createGenericTypeOfList(GenericType<E> elementType) { return (GenericType) createGenericType(List.class); }
@Override public GenericType<?> createGenericType(Type type, Class<?> definingType) { return createGenericType(type); }
@Override public GenericType<?> createGenericType(Type type, GenericType<?> definingType) { return createGenericType(type); }