MCPcopy Create free account
hub / github.com/apache/tomcat / getLambdaArgument

Method getLambdaArgument

java/jakarta/el/ELContext.java:312–320  ·  view source on GitHub ↗

Obtain the value of the lambda argument with the given name. @param name The name of the lambda argument @return The value of the specified argument @since EL 3.0

(String name)

Source from the content-addressed store, hash-verified

310 * @since EL 3.0
311 */
312 public Object getLambdaArgument(String name) {
313 for (Map<String,Object> arguments : getLambdaArguments()) {
314 Object result = arguments.get(name);
315 if (result != null || arguments.containsKey(name)) {
316 return result;
317 }
318 }
319 return null;
320 }
321
322 /**
323 * Called when starting to evaluate a lambda expression so that the arguments are available to the EL context during

Callers

nothing calls this directly

Calls 3

getLambdaArgumentsMethod · 0.95
getMethod · 0.65
containsKeyMethod · 0.45

Tested by

no test coverage detected