@Override public boolean isWritable(ExpressionState state) throws EvaluationException { return getValueRef(state).isWritable(); }
/** * Evaluates a compound expression. This involves evaluating each piece in turn and the * return value from each piece is the active context object for the subsequent piece. * @param state the state in which the expression is being evaluated * @return the final value from the last piece of the compound expression */ @Override public TypedValue getValueInternal(ExpressionState state) throws EvaluationException { ValueRef ref = getValueRef(state); TypedValue result = ref.getValue(); this.exitTypeDescriptor = this.children[this.children.length - 1].exitTypeDescriptor; return result; }
@Override public void setValue(ExpressionState state, @Nullable Object value) throws EvaluationException { getValueRef(state).setValue(value); }
/** * Evaluates a compound expression. This involves evaluating each piece in turn and the * return value from each piece is the active context object for the subsequent piece. * @param state the state in which the expression is being evaluated * @return the final value from the last piece of the compound expression */ @Override public TypedValue getValueInternal(ExpressionState state) throws EvaluationException { ValueRef ref = getValueRef(state); TypedValue result = ref.getValue(); this.exitTypeDescriptor = this.children[this.children.length - 1].exitTypeDescriptor; return result; }
@Override public void setValue(ExpressionState state, @Nullable Object value) throws EvaluationException { getValueRef(state).setValue(value); }
@Override public boolean isWritable(ExpressionState state) throws EvaluationException { return getValueRef(state).isWritable(); }
/** * Evaluates a compound expression. This involves evaluating each piece in turn and the * return value from each piece is the active context object for the subsequent piece. * @param state the state in which the expression is being evaluated * @return the final value from the last piece of the compound expression */ @Override public TypedValue getValueInternal(ExpressionState state) throws EvaluationException { ValueRef ref = getValueRef(state); TypedValue result = ref.getValue(); this.exitTypeDescriptor = this.children[this.children.length - 1].exitTypeDescriptor; return result; }
@Override public void setValue(ExpressionState state, @Nullable Object value) throws EvaluationException { getValueRef(state).setValue(value); }
@Override public boolean isWritable(ExpressionState state) throws EvaluationException { return getValueRef(state).isWritable(); }