private final static void ELCheckType ( final Object obj , final Class < ? > type ) throws ELException { if ( String . class . equals ( type ) ) { ELSupport . coerceToString ( obj ) ; } if ( ELArithmetic . isNumberType ( type ) ) { ELSupport . coerceToNumber ( obj , type ) ; } if ( Character . class . equals ( type ) || Character . TYPE == type ) { ELSupport . coerceToCharacter ( obj ) ; } if ( Boolean . class . equals ( type ) || Boolean . TYPE == type ) { ELSupport . coerceToBoolean ( obj ) ; } if ( type . isEnum ( ) ) { ELSupport . coerceToEnum ( obj , type ) ; } }
method used to replace ELSupport . checkType