public Trace currentTraceObject() {
        return traceFactory.currentTraceObject();
    }
Return trace only if current transaction can be sampled.

@return
agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DefaultTraceContext.java