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

Method getValue

java/org/apache/el/parser/AstChoice.java:36–41  ·  view source on GitHub ↗
(EvaluationContext ctx)

Source from the content-addressed store, hash-verified

34 }
35
36 @Override
37 public Object getValue(EvaluationContext ctx) throws ELException {
38 Object obj0 = this.children[0].getValue(ctx);
39 Boolean b0 = ELSupport.coerceToBoolean(ctx, obj0, true);
40 return this.children[((b0.booleanValue() ? 1 : 2))].getValue(ctx);
41 }
42}

Callers 1

getTypeMethod · 0.95

Calls 3

coerceToBooleanMethod · 0.95
getValueMethod · 0.65
booleanValueMethod · 0.45

Tested by

no test coverage detected