public class Helpers extends Object
Constructor and Description |
---|
Helpers(ProcessingEnvironment environment) |
public Helpers(ProcessingEnvironment environment)
public static TypeMirror getAnnotationTypeMirrorValue(AnnotationValue av)
public static TypeElement getAnnotationTypeMirrorValue(Element el)
public static AnnotationValue getAnnotationTypeMirrorValue(AnnotationMirror annotationMirror, String key)
public static String getAnnotationStringValue(AnnotationValue av)
public static int getAnnotationIntValue(AnnotationValue av)
public static AnnotationMirror getAnnotationMirror(Types types, Element element, TypeElement annotation)
public static AnnotationMirror getImplementsMirror(Element elem, Types types, TypeElement typeElement)
public boolean isSameParameterList(List<? extends TypeParameterElement> l1, List<? extends TypeParameterElement> l2)
public TypeMirror getImplementedClass(AnnotationMirror am)
public void appendParameterList(StringBuilder message, List<? extends TypeParameterElement> tpeList)
public Element asElement(TypeMirror typeMirror)
public TypeElement getTypeElement(String className)