protected Object getValue(SetterMethodCover method, Variable variable) {
        if(method.isTwoDimensionsArray()) 
            return assignValuesToTwoDimensionsArray(method, variable.getSFSArrayValue());
        if(method.isArray())
            return assignValuesToArray(method, variable);
        
        if(method.isColection())
            return assignValuesToCollection(method, variable);

        if(method.isObject())
            return assignValuesToObject(method, variable.getSFSObjectValue());
        if(method.isByte())
            return variable.getIntValue().byteValue();
        if(method.isChar())
            return (char)variable.getIntValue().byteValue();
        if(method.isFloat())
            return variable.getDoubleValue().floatValue();
        if(method.isLong())
            return variable.getDoubleValue().longValue();
        if(method.isShort())
            return variable.getIntValue().shortValue();
        return variable.getValue();
    }
protected Object getValue ( SetterMethodCover method , Variable variable ) { if ( method . isTwoDimensionsArray ( ) ) return assignValuesToTwoDimensionsArray ( method , variable . getSFSArrayValue ( ) ) ; if ( method . isArray ( ) ) return assignValuesToArray ( method , variable ) ; if ( method . isColection ( ) ) return assignValuesToCollection ( method , variable ) ; if ( method . isObject ( ) ) return assignValuesToObject ( method , variable . getSFSObjectValue ( ) ) ; if ( method . isByte ( ) ) return variable . getIntValue ( ) . byteValue ( ) ; if ( method . isChar ( ) ) return ( char ) variable . getIntValue ( ) . byteValue ( ) ; if ( method . isFloat ( ) ) return variable . getDoubleValue ( ) . floatValue ( ) ; if ( method . isLong ( ) ) return variable . getDoubleValue ( ) . longValue ( ) ; if ( method . isShort ( ) ) return variable . getIntValue ( ) . shortValue ( ) ; return variable . getValue ( ) ; }
Get value from the variable

@param method structure of setter method
@param variable the variable
@return a value