Class Helpers
java.lang.Object
org.robolectric.annotation.processing.Helpers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendParameterList(StringBuilder message, List<? extends TypeParameterElement> tpeList) asElement(TypeMirror typeMirror) static intstatic AnnotationMirrorgetAnnotationMirror(Types types, Element element, TypeElement annotation) static Stringstatic AnnotationValuegetAnnotationTypeMirrorValue(AnnotationMirror annotationMirror, String key) static TypeMirrorstatic TypeElementstatic AnnotationMirrorgetImplementsMirror(Element elem, Types types, TypeElement typeElement) getPackageElement(String packageName) getTypeElement(String className) booleanisSameParameterList(List<? extends TypeParameterElement> l1, List<? extends TypeParameterElement> l2)
-
Constructor Details
-
Helpers
-
-
Method Details
-
getAnnotationTypeMirrorValue
-
getAnnotationTypeMirrorValue
-
getAnnotationTypeMirrorValue
public static AnnotationValue getAnnotationTypeMirrorValue(AnnotationMirror annotationMirror, String key) -
getAnnotationStringValue
-
getAnnotationIntValue
-
getAnnotationMirror
public static AnnotationMirror getAnnotationMirror(Types types, Element element, TypeElement annotation) -
getImplementsMirror
public static AnnotationMirror getImplementsMirror(Element elem, Types types, TypeElement typeElement) -
isSameParameterList
public boolean isSameParameterList(List<? extends TypeParameterElement> l1, List<? extends TypeParameterElement> l2) -
getImplementedClass
-
appendParameterList
public void appendParameterList(StringBuilder message, List<? extends TypeParameterElement> tpeList) -
getPackageElement
-
asElement
-
getTypeElement
-