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

Method isLambdaArgument

java/jakarta/el/ELContext.java:294–301  ·  view source on GitHub ↗

Determine if the specified name is recognised as the name of a lambda argument. @param name The name of the lambda argument @return true if the name is recognised as the name of a lambda argument, otherwise false @since EL 3.0

(String name)

Source from the content-addressed store, hash-verified

292 * @since EL 3.0
293 */
294 public boolean isLambdaArgument(String name) {
295 for (Map<String,Object> arguments : getLambdaArguments()) {
296 if (arguments.containsKey(name)) {
297 return true;
298 }
299 }
300 return false;
301 }
302
303 /**
304 * Obtain the value of the lambda argument with the given name.

Callers

nothing calls this directly

Calls 2

getLambdaArgumentsMethod · 0.95
containsKeyMethod · 0.45

Tested by

no test coverage detected