Lines Matching refs:value

34  * <code>Expression</code> object provides a <em>value</em> which
36 * The return value is typically not provided by the caller and
51 private Object value = unbound;
61 * If the {@code arguments} value is {@code null},
62 * an empty array is used as the value of the {@code arguments} property.
76 * Creates a new {@link Expression} object with the specified value
79 * The {@code value} value is used as the value of the {@code value} property,
86 * If the {@code arguments} value is {@code null},
87 * an empty array is used as the value of the {@code arguments} property.
89 * @param value the value of this expression
96 public Expression(Object value, Object target, String methodName, Object[] arguments) {
98 setValue(value);
105 * the value it returns is copied in the {@code value} property.
106 * Note that the {@code value} property is set to {@code null},
109 * @throws NullPointerException if the value of the {@code target} or
125 * If the value property of this instance is not already set,
129 * into the value property of this expression and then returned
130 * as the result of <code>getValue</code>. If the value property
132 * or a previous call to <code>getValue</code> then the value
135 * The value property of an <code>Expression</code> is set to
136 * a unique private (non-<code>null</code>) value by default and
137 * this value is used as an internal indication that the method
138 * has not yet been called. A return value of <code>null</code>
139 * replaces this default value in the same way that any other value
152 if (value == unbound) {
155 return value;
159 * Sets the value of this expression to <code>value</code>.
160 * This value will be returned by the getValue method
164 * @param value The value of this expression.
168 public void setValue(Object value) {
169 this.value = value;
177 * Prints the value of this expression using a Java-style syntax.
180 return instanceName(value) + "=" + super.toString();