Code example for Type

Methods: equals

0
			type.equals( short.class ) ||
			type.equals( int.class );
	} 
	 
	public static final boolean isReferenceType( final Type type ) {
		if ( JavaTypes.isObjectType( type ) ) {
			return ! type.equals( Category1.class ) &&
				! type.equals( Category2.class );
		} else { 
			return false; 
		} 
	} 
	 
	public static final boolean isCategory1( final Type type ) {
		return ( ! type.equals( void.class ) ) &&
			! isCategory2( type );
	} 
	 
	public static final boolean isCategory2( final Type type ) {
		return type.equals( long.class ) ||
			type.equals( double.class ) ||