ClassContext

interface ClassContext


Summary

Public functions

ClassData?
loadClassData(className: String?)

Loads the class data for the class with given className.

Public properties

ClassData

Contains information about the class that will be instrumented.

Public functions

loadClassData

fun loadClassData(className: String?): ClassData?

Loads the class data for the class with given className.

Returns null if a class named className couldn't be found in the runtime classpath of the class defined by the currentClassData.

Parameters
className: String?

the fully qualified name of the class, (e.g. "com.android.build.api.instrumentation.ClassContext")

Public properties

currentClassData

val currentClassDataClassData

Contains information about the class that will be instrumented.