pojo/src/main/java/org/jboss/as/pojo/descriptor/ValueConfig.java
public Object getValue(Type type) {
        if (type == null || (type instanceof Class)) {
            return getClassValue((Class) type);
        } else if (type instanceof ParameterizedType) {
            ParameterizedType pt = (ParameterizedType) type;
            return getPtValue(pt);
        } else {
            throw PojoLogger.ROOT_LOGGER.unknownType(type);
        }
    }
public Object getValue(Type type) {
        if (type == null || (type instanceof Class)) {
            return getClassValue((Class) type);
        } else if (type instanceof ParameterizedType) {
            ParameterizedType pt = (ParameterizedType) type;
            return getPtValue(pt);
        } else {
            throw PojoLogger.ROOT_LOGGER.unknownType(type);
        }
    }
Get value.

@param type the type
@return value