Class RobolectricModel.Builder
java.lang.Object
org.robolectric.annotation.processing.RobolectricModel.Builder
- Enclosing class:
- RobolectricModel
public static class RobolectricModel.Builder extends Object
-
Method Summary
Modifier and Type Method Description void
addExtraShadow(String sdkClassName, String shadowClassName)
void
addResetter(javax.lang.model.element.TypeElement shadowTypeElement, javax.lang.model.element.ExecutableElement elem)
void
addShadowType(javax.lang.model.element.TypeElement shadowType, javax.lang.model.element.TypeElement actualType, javax.lang.model.element.TypeElement shadowPickerType)
void
documentMethod(javax.lang.model.element.TypeElement shadowClass, DocumentedMethod documentedMethod)
void
documentPackage(String name, String documentation)
void
documentType(javax.lang.model.element.TypeElement type, String documentation, List<String> imports)
-
Method Details
-
addShadowType
public void addShadowType(javax.lang.model.element.TypeElement shadowType, javax.lang.model.element.TypeElement actualType, javax.lang.model.element.TypeElement shadowPickerType) -
addExtraShadow
-
addResetter
public void addResetter(javax.lang.model.element.TypeElement shadowTypeElement, javax.lang.model.element.ExecutableElement elem) -
documentPackage
-
documentType
-
documentMethod
public void documentMethod(javax.lang.model.element.TypeElement shadowClass, DocumentedMethod documentedMethod)
-