public class ElementAnnotationUtil extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ElementAnnotationUtil.ErrorTypeKindExceptionAn ERROR TypeKind was found. | 
| static class  | ElementAnnotationUtil.UnexpectedAnnotationLocationExceptionException indicating an invalid location for an annotation was found. | 
| Constructor and Description | 
|---|
| ElementAnnotationUtil() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | applyAllElementAnnotations(List<? extends AnnotatedTypeMirror> types,
                          List<? extends Element> elements,
                          AnnotatedTypeFactory typeFactory)For each type/element pair, add all of the annotations stored in Element to type. | 
public static void applyAllElementAnnotations(List<? extends AnnotatedTypeMirror> types, List<? extends Element> elements, AnnotatedTypeFactory typeFactory)
types - the types to which we wish to apply element annotationselements - the elements that may contain annotations to apply. elements.size must ==
     types.sizetypeFactory - the type factory used to create the AnnotatedTypeMirrors contained by types