applyAllElementAnnotations
public 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.
See apply for more details.
- Parameters:
types
- The types to which we wish to apply element annotations.
elements
- The elements that may contain annotations to apply. elements.size must == types.size
typeFactory
- The type factory used to create the AnnotatedTypeMirrors contained by types