get Visitor
abstract fun getVisitor(instrumentableContext: InstrumentableContext, apiVersion: Int, originalVisitor: Visitor, parameters: SpanAddingClassVisitorFactory.SpanAddingParameters): Visitor
Content copied to clipboard
Provides a visitor for this instrumentable. A visitor can be one of the visitors defined in ASM
Parameters
instrumentable Context
A context of the instrumentable.
api Version
Defines the ASM api version, usually provided from the parent
original Visitor
The original visitor that ASM provides us with before visiting code
parameters
Parameters that are configured by users and passed via the Sentry gradle plugin