public class ModelFactory extends Object implements TypeVisitor<TypeModel,Element>
| Constructor and Description |
|---|
ModelFactory(Elements elements,
Types types) |
| Modifier and Type | Method and Description |
|---|---|
MethodModel |
method(ExecutableElement element) |
VarModel |
parameter(VariableElement element) |
TypeModel |
type(Element element) |
TypeModel |
visit(TypeMirror t) |
TypeModel |
visit(TypeMirror t,
Element typeElement) |
TypeModel |
visitArray(ArrayType t,
Element element) |
TypeModel |
visitDeclared(DeclaredType t,
Element element) |
TypeModel |
visitError(ErrorType t,
Element typeElement) |
TypeModel |
visitExecutable(ExecutableType t,
Element typeElement) |
TypeModel |
visitIntersection(IntersectionType t,
Element typeElement) |
TypeModel |
visitNoType(NoType t,
Element typeElement) |
TypeModel |
visitNull(NullType t,
Element typeElement) |
TypeModel |
visitPrimitive(PrimitiveType t,
Element element) |
TypeModel |
visitTypeVariable(TypeVariable t,
Element typeElement) |
TypeModel |
visitUnion(UnionType t,
Element typeElement) |
TypeModel |
visitUnknown(TypeMirror t,
Element typeElement) |
TypeModel |
visitWildcard(WildcardType t,
Element typeElement) |
public MethodModel method(ExecutableElement element)
public VarModel parameter(VariableElement element)
public TypeModel visit(TypeMirror t, Element typeElement)
visit in interface TypeVisitor<TypeModel,Element>public TypeModel visit(TypeMirror t)
visit in interface TypeVisitor<TypeModel,Element>public TypeModel visitPrimitive(PrimitiveType t, Element element)
visitPrimitive in interface TypeVisitor<TypeModel,Element>public TypeModel visitNull(NullType t, Element typeElement)
visitNull in interface TypeVisitor<TypeModel,Element>public TypeModel visitArray(ArrayType t, Element element)
visitArray in interface TypeVisitor<TypeModel,Element>public TypeModel visitDeclared(DeclaredType t, Element element)
visitDeclared in interface TypeVisitor<TypeModel,Element>public TypeModel visitError(ErrorType t, Element typeElement)
visitError in interface TypeVisitor<TypeModel,Element>public TypeModel visitTypeVariable(TypeVariable t, Element typeElement)
visitTypeVariable in interface TypeVisitor<TypeModel,Element>public TypeModel visitWildcard(WildcardType t, Element typeElement)
visitWildcard in interface TypeVisitor<TypeModel,Element>public TypeModel visitExecutable(ExecutableType t, Element typeElement)
visitExecutable in interface TypeVisitor<TypeModel,Element>public TypeModel visitNoType(NoType t, Element typeElement)
visitNoType in interface TypeVisitor<TypeModel,Element>public TypeModel visitUnknown(TypeMirror t, Element typeElement)
visitUnknown in interface TypeVisitor<TypeModel,Element>public TypeModel visitUnion(UnionType t, Element typeElement)
visitUnion in interface TypeVisitor<TypeModel,Element>public TypeModel visitIntersection(IntersectionType t, Element typeElement)
visitIntersection in interface TypeVisitor<TypeModel,Element>Copyright © 2019. All rights reserved.