@Override protected AegisType getOrCreateGenericType(TypeClassInfo info) { AegisType type = null; if (info.getType() instanceof ParameterizedType) { type = createTypeFromGeneric(info.getType()); } if (type == null) { type = super.getOrCreateGenericType(info); } return type; }
@Override protected AegisType getOrCreateMapKeyType(TypeClassInfo info) { AegisType type = null; if (info.getKeyType() != null) { type = createTypeFromGeneric(info.getKeyType()); } if (type == null) { type = super.getOrCreateMapKeyType(info); } return type; }
@Override protected AegisType getOrCreateMapValueType(TypeClassInfo info) { AegisType type = null; if (info.getType() instanceof ParameterizedType) { // well, let's hope that someone has filled in the value type. type = createTypeFromGeneric(info.getValueType()); } if (type == null) { type = super.getOrCreateMapValueType(info); } return type; }
@Override protected AegisType getOrCreateGenericType(TypeClassInfo info) { AegisType type = null; if (info.getType() instanceof ParameterizedType) { type = createTypeFromGeneric(info.getType()); } if (type == null) { type = super.getOrCreateGenericType(info); } return type; }
@Override protected AegisType getOrCreateMapValueType(TypeClassInfo info) { AegisType type = null; if (info.getType() instanceof ParameterizedType) { // well, let's hope that someone has filled in the value type. type = createTypeFromGeneric(info.getValueType()); } if (type == null) { type = super.getOrCreateMapValueType(info); } return type; }
@Override protected AegisType getOrCreateMapKeyType(TypeClassInfo info) { AegisType type = null; if (info.getKeyType() != null) { type = createTypeFromGeneric(info.getKeyType()); } if (type == null) { type = super.getOrCreateMapKeyType(info); } return type; }