Stay organized with collections
Save and categorize content based on your preferences.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# com.android.build.api.instrumentation\n=====================================\n\nInterfaces\n----------\n\n|------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [AsmClassVisitorFactory](/reference/tools/gradle-api/8.9/com/android/build/api/instrumentation/AsmClassVisitorFactory) | A factory to create class visitor objects to instrument classes. |\n| [ClassContext](/reference/tools/gradle-api/8.9/com/android/build/api/instrumentation/ClassContext) | |\n| [ClassData](/reference/tools/gradle-api/8.9/com/android/build/api/instrumentation/ClassData) | Data about the class to be instrumented. |\n| [InstrumentationContext](/reference/tools/gradle-api/8.9/com/android/build/api/instrumentation/InstrumentationContext) | Instrumentation context data that will be injected to [AsmClassVisitorFactory](/reference/tools/gradle-api/8.9/com/android/build/api/instrumentation/AsmClassVisitorFactory) on instantiation. |\n| [InstrumentationParameters](/reference/tools/gradle-api/8.9/com/android/build/api/instrumentation/InstrumentationParameters) | Parameters for a registered [AsmClassVisitorFactory](/reference/tools/gradle-api/8.9/com/android/build/api/instrumentation/AsmClassVisitorFactory). |\n\nClasses\n-------\n\n|----------------------------------------------------------------------------------------------------------------------------------------|---|\n| [InstrumentationParameters.None](/reference/tools/gradle-api/8.9/com/android/build/api/instrumentation/InstrumentationParameters.None) | |\n\nEnums\n-----\n\n|----------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [FramesComputationMode](/reference/tools/gradle-api/8.9/com/android/build/api/instrumentation/FramesComputationMode) | Indicates the frame computation mode that will be applied to the bytecode of the classes instrumented by ASM visitors registered through [Component.transformClassesWith](/reference/tools/gradle-api/8.9/com/android/build/api/variant/Component#transformClassesWith(java.lang.Class,com.android.build.api.instrumentation.InstrumentationScope,kotlin.Function1)). |\n| [InstrumentationScope](/reference/tools/gradle-api/8.9/com/android/build/api/instrumentation/InstrumentationScope) | |"]]