Code example for TypeResolver

Methods: basic

0
	} 
 
	/** 
	 * {@inheritDoc} 
	 */ 
	public BasicType basic(String name) {
		return typeResolver.basic( name );
	} 
 
	/** 
	 * {@inheritDoc} 
	 */ 
	public BasicType basic(Class javaType) {
		BasicType type = typeResolver.basic( javaType.getName() );
		if ( type == null ) {
			final Class variant = resolvePrimitiveOrPrimitiveWrapperVariantJavaType( javaType );
			if ( variant != null ) {
				type = typeResolver.basic( variant.getName() );
			} 
		} 
Experience pair programming with AI  Get Codota for Java