Class InstrumentationConfiguration.Builder
java.lang.Object
org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- Enclosing class:
- InstrumentationConfiguration
public static final class InstrumentationConfiguration.Builder extends Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(InstrumentationConfiguration classLoaderConfig)
-
Method Summary
Modifier and Type Method Description InstrumentationConfiguration.Builder
addClassNameTranslation(String fromName, String toName)
InstrumentationConfiguration.Builder
addInstrumentedClass(String name)
InstrumentationConfiguration.Builder
addInstrumentedPackage(String packageName)
InstrumentationConfiguration.Builder
addInterceptedMethod(MethodRef methodReference)
InstrumentationConfiguration
build()
InstrumentationConfiguration.Builder
doNotAcquireClass(Class<?> clazz)
InstrumentationConfiguration.Builder
doNotAcquireClass(String className)
InstrumentationConfiguration.Builder
doNotAcquirePackage(String packageName)
InstrumentationConfiguration.Builder
doNotInstrumentClass(String className)
InstrumentationConfiguration.Builder
doNotInstrumentPackage(String packageName)
InstrumentationConfiguration.Builder
setDoNotInstrumentClassRegex(String classNameRegex)
-
Field Details
-
Constructor Details
-
Method Details
-
doNotAcquireClass
-
doNotAcquireClass
-
doNotAcquirePackage
-
addClassNameTranslation
public InstrumentationConfiguration.Builder addClassNameTranslation(String fromName, String toName) -
addInterceptedMethod
-
addInstrumentedClass
-
addInstrumentedPackage
-
doNotInstrumentClass
-
doNotInstrumentPackage
-
setDoNotInstrumentClassRegex
-
build
-