Stay organized with collections Save and categorize content based on your preferences.

InstrumentationContext

interface InstrumentationContext


Instrumentation context data that will be injected to AsmClassVisitorFactory on instantiation.

Summary

Public properties

Property<Int>

The asm api version to be passed to the ClassVisitor constructor.

Public properties

apiVersion

val apiVersionProperty<Int>

The asm api version to be passed to the ClassVisitor constructor.

| AGP version | Corresponding ASM version |
|-------------|---------------------------|
| 4.2.0 - 7.0 | ASM7 |
| 7.1.0+ | ASM9 |