Package net.karneim.pojobuilder.analysis
Class AnnotationHierarchyUtil
- java.lang.Object
-
- net.karneim.pojobuilder.analysis.AnnotationHierarchyUtil
-
public class AnnotationHierarchyUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AnnotationHierarchyUtil(javax.lang.model.util.Types types)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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, theGeneratePojoBuilderannotation and all custom made meta annotations that are annotated withGeneratePojoBuilderor with another meta annotation.
-
-
-
Method Detail
-
filterTriggeringAnnotations
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)Filters the given set of annotation elements and returns only those that are 'triggering' the generation of a pojo builder, including, of course, theGeneratePojoBuilderannotation and all custom made meta annotations that are annotated withGeneratePojoBuilderor with another meta annotation.- Parameters:
aAnnotations- the set of annotation elements that will be filteredgeneratePojoBuilderAnnotation- the type element representing the @GeneratePojoBuilderannotation- Returns:
- those annotations that are triggering the generation of a pojo builder
-
-