private void maybePushNewContextObject(ReadingContext aContext) { if (type != null) { Object _ctx = aContext.peek(); T _nestedCtx = newContextObject(); getMutator(_ctx.getClass(), type, tagName).apply(_ctx, _nestedCtx); aContext.push(_nestedCtx); } }
public void read(ReadingContext aContext, String aText) { T _currentContext = aContext.peek(); try { ValueSetter _vs = getSetter(aContext, _currentContext.getClass(), fieldName); _vs.invoke(fieldName, _currentContext, aText); } catch (ParsingException anExc) { throw anExc; } catch (Exception anExc) { throw new ParsingException(anExc); } }