コード例 #1
0
ファイル: TagReader.java プロジェクト: Mur4ik/dsl4xml
  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);
    }
  }