MCPcopy Index your code
hub / github.com/apache/groovy / me

Method me

src/main/java/groovy/util/Eval.java:49–51  ·  view source on GitHub ↗

Evaluates the specified String expression and returns the result. For example: assert Eval.me(' 2 4 + 2') == 10 @param expression the Groovy expression to evaluate @return the result of the expression @throws CompilationFailedException if expressio

(final String expression)

Source from the content-addressed store, hash-verified

47 * @throws CompilationFailedException if expression is not valid Groovy
48 */
49 public static Object me(final String expression) throws CompilationFailedException {
50 return me(null, null, expression);
51 }
52
53 /**
54 * Evaluates the specified String expression and makes the parameter available inside

Callers 3

testMeSimpleMethod · 0.95
xMethod · 0.95

Calls 2

setVariableMethod · 0.95
evaluateMethod · 0.95

Tested by 2

testMeSimpleMethod · 0.76