public class DirectivesFactory
extends java.lang.Object
| Constructor and Description |
|---|
DirectivesFactory(javax.lang.model.util.Elements elements,
javax.lang.model.util.Types types,
JavaModelAnalyzerUtil javaModelAnalyzerUtil) |
| Modifier and Type | Method and Description |
|---|---|
Directives |
getDirectives(javax.lang.model.element.Element annotatedEl,
java.util.Set<javax.lang.model.element.Element> orginatingElements)
Scans the annotation hierarchy of all annotations on the given (annotated) element for the
presence of a
GeneratePojoBuilder annotation and returns a Directives object
populated with the aggregation of the specified GeneratePojoBuilder element values. |
public DirectivesFactory(javax.lang.model.util.Elements elements,
javax.lang.model.util.Types types,
JavaModelAnalyzerUtil javaModelAnalyzerUtil)
public Directives getDirectives(javax.lang.model.element.Element annotatedEl, java.util.Set<javax.lang.model.element.Element> orginatingElements)
GeneratePojoBuilder annotation and returns a Directives object
populated with the aggregation of the specified GeneratePojoBuilder element values.
Please note that element values can be overridden top-down. This means, that element values that appear further up in the source code will be overridden by element values further down.
annotatedEl - the annotated elementorginatingElements - this out parameter will be filled with all elements that have (or
could have) contributed to the Directives throughout the scan process.Directives object populated with the effective annotation element values