Code example for TypeDescriptor

Methods: getElementTypeDescriptorisCollection

0
	public Class<?> getType() {
		return typeDescriptor.getType();
	} 
 
	public Class<?> getCollectionType() {
		if (typeDescriptor.isCollection()
				&& typeDescriptor.getElementTypeDescriptor() != null) {
			return typeDescriptor.getElementTypeDescriptor().getType();
		} 
		return null; 
	} 
 
	public String getName() {
		return name;
	} 
 
	public boolean hasRequestParamAnnotation() { 
		return hasRequestParamAnnotation;
	} 
 
Experience pair programming with AI  Get Codota for Java