public class AnnotationHierarchyUtil
extends java.lang.Object
| Constructor and Description |
|---|
AnnotationHierarchyUtil(javax.lang.model.util.Types types) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<javax.lang.model.element.TypeElement> |
filterTriggeringAnnotations(java.util.Set<? extends javax.lang.model.element.TypeElement> aAnnotations,
javax.lang.model.element.TypeElement generatePojoBuilderAnnotation)
Filters the given set of annotation elements and returns only those that are 'triggering' the generation of a pojo
builder, including, of course, the
GeneratePojoBuilder annotation and all custom made meta annotations that
are annotated with GeneratePojoBuilder or with another meta annotation. |
public AnnotationHierarchyUtil(javax.lang.model.util.Types types)
public java.util.Set<javax.lang.model.element.TypeElement> filterTriggeringAnnotations(java.util.Set<? extends javax.lang.model.element.TypeElement> aAnnotations,
javax.lang.model.element.TypeElement generatePojoBuilderAnnotation)
GeneratePojoBuilder annotation and all custom made meta annotations that
are annotated with GeneratePojoBuilder or with another meta annotation.aAnnotations - the set of annotation elements that will be filteredgeneratePojoBuilderAnnotation - the type element representing the @GeneratePojoBuilder
annotation