Modifier | Constructor and Description |
---|---|
protected |
ModelUtils(Elements elementUtils,
Types typeUtils) |
Modifier and Type | Method and Description |
---|---|
TypeElement |
classElementFor(Element element)
Obtains the
TypeElement for an given element. |
ExecutableElement |
concreteConstructorFor(TypeElement classElement,
AnnotationUtils annotationUtils)
The constructor inject for the given class element.
|
Types |
getTypeUtils() |
public Types getTypeUtils()
@Nullable public final TypeElement classElementFor(Element element)
TypeElement
for an given element.element
- The elementTypeElement
@Nullable public ExecutableElement concreteConstructorFor(TypeElement classElement, AnnotationUtils annotationUtils)
classElement
- The class elementannotationUtils
- The annotation utilities