public static InOutParameter inout(final InParameter in) {
        return new InOutParameter() {
            public int getType() {
                return in.getType();
            }

            public Object getValue() {
                return in.getValue();
            }
        };
    }
public static InOutParameter inout ( final InParameter in ) { return new InOutParameter ( ) { public int getType ( ) { return in . getType ( ) ; } public Object getValue ( ) { return in . getValue ( ) ; } } ; }
Create an inout parameter using this in parameter.

@param in the InParameter of interest
@return the resulting InOutParameter