StackTraceEntry(Instrumenter instrumenter, Node node, byte state) { this.tags = instrumenter.queryTags(node); this.sourceSection = node.getSourceSection(); this.instrumentedNode = node; this.rootName = extractRootName(instrumentedNode); this.state = state; }
StackTraceEntry(Instrumenter instrumenter, EventContext context, byte state) { this.tags = instrumenter.queryTags(context.getInstrumentedNode()); this.sourceSection = context.getInstrumentedSourceSection(); this.instrumentedNode = context.getInstrumentedNode(); this.rootName = extractRootName(instrumentedNode); this.state = state; }