Instrumentable

interface Instrumentable<Visitor, InstrumentableContext> : Serializable

Functions

getVisitor
Link copied to clipboard
abstract fun getVisitor(instrumentableContext: InstrumentableContext, apiVersion: Int, originalVisitor: Visitor, parameters: SpanAddingClassVisitorFactory.SpanAddingParameters): Visitor

Provides a visitor for this instrumentable. A visitor can be one of the visitors defined in ASM

isInstrumentable
Link copied to clipboard
abstract fun isInstrumentable(data: InstrumentableContext): Boolean

Defines whether this object is instrumentable or not based on data

Properties

fqName
Link copied to clipboard
open val fqName: String

Fully-qualified name of the instrumentable. Examples: Class: androidx.sqlite.db.framework.FrameworkSQLiteDatabase Method: query

Inheritors

ClassInstrumentable
Link copied to clipboard
MethodInstrumentable
Link copied to clipboard