MCPcopy Index your code
hub / github.com/apache/tomcat / getType

Method getType

java/org/apache/el/parser/AstValue.java:52–61  ·  view source on GitHub ↗
(EvaluationContext ctx)

Source from the content-addressed store, hash-verified

50 }
51
52 @Override
53 public Class<?> getType(EvaluationContext ctx) throws ELException {
54 Target t = getTarget(ctx);
55 ctx.setPropertyResolved(false);
56 Class<?> result = ctx.getELResolver().getType(ctx, t.base, t.property);
57 if (!ctx.isPropertyResolved()) {
58 throw new PropertyNotFoundException(MessageFactory.get("error.resolver.unhandled", t.base, t.property));
59 }
60 return result;
61 }
62
63 private Target getTarget(EvaluationContext ctx) throws ELException {
64 // evaluate expr-a to value-a

Callers

nothing calls this directly

Calls 6

getTargetMethod · 0.95
getMethod · 0.95
getTypeMethod · 0.65
setPropertyResolvedMethod · 0.45
getELResolverMethod · 0.45
isPropertyResolvedMethod · 0.45

Tested by

no test coverage detected