Code example for WildcardType

Methods: getLowerBounds

0
			return (Class) ((ParameterizedType) type).getRawType();
		} 
		else if(type instanceof WildcardType)
		{ 
			WildcardType wc = (WildcardType) type;
			Type[] lowerBounds = wc.getLowerBounds();
			if(lowerBounds.length == 0)
			{ 
				throw new ConversionException("Could not determine type for " + conversion + " (on " + type + ")");
			} 
			 
			return findClass(conversion, lowerBounds[0]);
		} 
		 
		throw new ConversionException("Could not determine type for " + conversion + " (on " + type + ")");
	} 
	 
	public O convert(I in)
	{ 
		return conversion.convert(in);