Java Snippet - setFlowVariable

Hi,

Is there the opposite of the function getFlowVariable?

Thanks

If I understand correctly you would like to set or create a new flow variable with Java Snippet node? 

If so, you just create an output variable with Field Type of FlowVariable and write to it.