private static Object setIntValue ( Field member , Object retVal ) { if ( member != null ) { if ( member . getType ( ) . isAssignableFrom ( byte . class ) ) { retVal = ( ( Integer ) retVal ) . byteValue ( ) ; } else if ( member . getType ( ) . isAssignableFrom ( short . class ) ) { retVal = ( ( Integer ) retVal ) . shortValue ( ) ; } } return retVal ; }
Sets the int value .