public class ModelTypeFactory extends Object implements ModelFactory
| Constructor and Description |
|---|
ModelTypeFactory(Types types,
Elements elements,
Filer filer) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Map<String,Object>> |
annotations(Element element) |
Object |
annotationValue(AnnotationValue value) |
Map<String,Object> |
annotationValues(AnnotationMirror a) |
MethodModel |
asMemberOf(DeclaredType declaring,
ExecutableElement member) |
VarModel |
asMemberOf(DeclaredType declaring,
VariableElement member) |
TypeModel |
asMemberOf(TypeElement declaring,
TypeElement member) |
MethodModel |
method(ExecutableElement executableElement,
ExecutableType type) |
TemplateModel |
model() |
TypeModel |
type(TypeMirror typeMirror) |
VarModel |
variable(VariableElement variableElement,
TypeMirror type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmethod, variablepublic TypeModel asMemberOf(TypeElement declaring, TypeElement member)
asMemberOf in interface ModelFactorypublic VarModel asMemberOf(DeclaredType declaring, VariableElement member)
asMemberOf in interface ModelFactorypublic MethodModel asMemberOf(DeclaredType declaring, ExecutableElement member)
asMemberOf in interface ModelFactorypublic MethodModel method(ExecutableElement executableElement, ExecutableType type)
method in interface ModelFactorypublic VarModel variable(VariableElement variableElement, TypeMirror type)
variable in interface ModelFactorypublic TypeModel type(TypeMirror typeMirror)
type in interface ModelFactorypublic TemplateModel model()
model in interface ModelFactorypublic Object annotationValue(AnnotationValue value)
annotationValue in interface ModelFactorypublic Map<String,Object> annotationValues(AnnotationMirror a)
annotationValues in interface ModelFactorypublic Map<String,Map<String,Object>> annotations(Element element)
annotations in interface ModelFactoryCopyright © 2019. All rights reserved.