public void restoreState(FacesContext context, Object state) {

        if (context == null) {
            throw new NullPointerException();
        }
        if (state == null) {
            return;
        }
        methodExpressionOneArg = (MethodExpression) ((Object[]) state)[0];
        methodExpressionZeroArg = (MethodExpression) ((Object[]) state)[1];

    }
public void restoreState ( FacesContext context , Object state ) { if ( context == null ) { throw new NullPointerException ( ) ; } if ( state == null ) { return ; } methodExpressionOneArg = ( MethodExpression ) ( ( Object [ ] ) state ) [ 0 ] ; methodExpressionZeroArg = ( MethodExpression ) ( ( Object [ ] ) state ) [ 1 ] ; }
<p class="changed_modified_2_0">Both {@link MethodExpression}
instances described in the constructor must be restored.</p>