Class Helpers
- java.lang.Object
-
- org.robolectric.annotation.processing.Helpers
-
public class Helpers extends Object
-
-
Constructor Summary
Constructors Constructor Description Helpers(ProcessingEnvironment environment)
-
Method Summary
-
-
-
Constructor Detail
-
Helpers
public Helpers(ProcessingEnvironment environment)
-
-
Method Detail
-
getAnnotationTypeMirrorValue
public static TypeMirror getAnnotationTypeMirrorValue(AnnotationValue av)
-
getAnnotationTypeMirrorValue
public static TypeElement getAnnotationTypeMirrorValue(Element el)
-
getAnnotationTypeMirrorValue
public static AnnotationValue getAnnotationTypeMirrorValue(AnnotationMirror annotationMirror, String key)
-
getAnnotationStringValue
public static String getAnnotationStringValue(AnnotationValue av)
-
getAnnotationIntValue
public static int getAnnotationIntValue(AnnotationValue av)
-
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
public TypeMirror getImplementedClass(AnnotationMirror am)
-
appendParameterList
public void appendParameterList(StringBuilder message, List<? extends TypeParameterElement> tpeList)
-
asElement
public Element asElement(TypeMirror typeMirror)
-
getTypeElement
public TypeElement getTypeElement(String className)
-
-