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

Method getValue

java/org/apache/el/parser/AstAnd.java:30–43  ·  view source on GitHub ↗
(EvaluationContext ctx)

Source from the content-addressed store, hash-verified

28 }
29
30 @Override
31 public Object getValue(EvaluationContext ctx) throws ELException {
32 int i = 0;
33 while (i < children.length - 1) {
34 Object obj = children[i].getValue(ctx);
35 Boolean b = ELSupport.coerceToBoolean(ctx, obj, true);
36 if (!b.booleanValue()) {
37 return b;
38 }
39 i++;
40 }
41 Object obj = children[i].getValue(ctx);
42 return ELSupport.coerceToBoolean(ctx, obj, true);
43 }
44}

Callers

nothing calls this directly

Calls 3

coerceToBooleanMethod · 0.95
getValueMethod · 0.65
booleanValueMethod · 0.45

Tested by

no test coverage detected