Class InstrumentationConfiguration.Builder
java.lang.Object
org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- Enclosing class:
- InstrumentationConfiguration
-
Field Summary
Modifier and TypeFieldDescriptionfinal Collection<String>
final Collection<String>
final Collection<String>
final Collection<String>
final Collection<MethodRef>
final Collection<String>
final Collection<String>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddClassNameTranslation
(String fromName, String toName) addInstrumentedClass
(String name) addInstrumentedPackage
(String packageName) addInterceptedMethod
(MethodRef methodReference) build()
doNotAcquireClass
(Class<?> clazz) doNotAcquireClass
(String className) doNotAcquirePackage
(String packageName) doNotInstrumentClass
(String className) doNotInstrumentPackage
(String packageName) setDoNotInstrumentClassRegex
(String classNameRegex)
-
Field Details
-
instrumentedPackages
-
interceptedMethods
-
classNameTranslations
-
classesToNotAcquire
-
packagesToNotAcquire
-
instrumentedClasses
-
classesToNotInstrument
-
packagesToNotInstrument
-
classesToNotInstrumentRegex
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
doNotAcquireClass
-
doNotAcquireClass
-
doNotAcquirePackage
-
addClassNameTranslation
-
addInterceptedMethod
-
addInstrumentedClass
-
addInstrumentedPackage
-
doNotInstrumentClass
-
doNotInstrumentPackage
-
setDoNotInstrumentClassRegex
-
build
-