This is the class to derive to customize introspection.
202203204205206207208
*/ public static Uberspect getUberspect(Log logger) { if (logger == null || logger.equals(LogFactory.getLog(JexlEngine.class))) { return UberspectHolder.UBERSPECT; } return new UberspectImpl(logger); }
200201202203204205206
214215216217218219220
4142434445464748495051
return null; } }; // uberspect that prevents access to .class and .getClass() Uberspect uberspect = new UberspectImpl(LogFactory.getLog(JexlEngine.class)) { @Override public JexlPropertyGet getPropertyGet(Object obj, Object identifier, JexlInfo info) { if ("class".equals(identifier)) { return null; }