File tree 1 file changed +6
-6
lines changed
src/main/java/org/springframework/data/expression
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 19
19
import org .springframework .expression .EvaluationContext ;
20
20
21
21
/**
22
- * Expressions are executed in an evaluation context. It is in this context that references are resolved when
23
- * encountered during expression evaluation.
22
+ * Expressions are executed using an evaluation context. This context is used to resolve references during (SpEL,
23
+ * property placeholder) expression evaluation.
24
24
*
25
25
* @author Christoph Strobl
26
26
* @author Mark Paluch
@@ -31,23 +31,23 @@ public interface ValueEvaluationContext {
31
31
/**
32
32
* Returns a new {@link ValueEvaluationContext}.
33
33
*
34
- * @param environment
35
- * @param evaluationContext
34
+ * @param environment must not be {@literal null}.
35
+ * @param evaluationContext must not be {@literal null}.
36
36
* @return a new {@link ValueEvaluationContext} for the given environment and evaluation context.
37
37
*/
38
38
static ValueEvaluationContext of (Environment environment , EvaluationContext evaluationContext ) {
39
39
return new DefaultValueEvaluationContext (environment , evaluationContext );
40
40
}
41
41
42
42
/**
43
- * Returns the {@link Environment} if provided .
43
+ * Returns the {@link Environment}.
44
44
*
45
45
* @return the {@link Environment}.
46
46
*/
47
47
Environment getEnvironment ();
48
48
49
49
/**
50
- * Returns the {@link EvaluationContext} if provided .
50
+ * Returns the {@link EvaluationContext}.
51
51
*
52
52
* @return the {@link EvaluationContext}.
53
53
*/
You can’t perform that action at this time.
0 commit comments