public class ProxyModel extends ClassModel
abstractSuperTypes, annotations, annotationValueInfoFactory, collectedTypes, concrete, concreteSuperType, doc, docFactory, elementUtils, env, ifaceComment, ifaceFQCN, ifacePackageName, ifaceSimpleName, importedTypes, JSON_ARRAY, JSON_OBJECT, messager, methodAnnotationsMap, methodMap, methodOverloadChecker, methods, modelElt, processed, referencedDataObjectTypes, referencedTypes, sources, superTypes, type, typeFactory, typeUtils, VERTX, VERTX_ASYNC_RESULT, VERTX_HANDLER, VERTX_READ_STREAM, VERTX_WRITE_STREAM
Constructor and Description |
---|
ProxyModel(ProcessingEnvironment env,
MethodOverloadChecker methodOverloadChecker,
Messager messager,
Map<String,TypeElement> sources,
Elements elementUtils,
Types typeUtils,
TypeElement modelElt) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkMethod(MethodInfo methodInfo) |
protected void |
checkParamType(ExecutableElement elem,
TypeMirror type,
TypeInfo typeInfo,
int pos,
int numParams) |
protected void |
checkReturnType(ExecutableElement elem,
TypeInfo type,
TypeMirror typeMirror) |
protected MethodInfo |
createMethodInfo(Set<ClassTypeInfo> ownerTypes,
String methodName,
String comment,
Doc doc,
MethodKind kind,
TypeInfo returnType,
Text returnDescription,
boolean isFluent,
boolean isCacheReturn,
List<ParamInfo> mParams,
ExecutableElement methodElt,
boolean isStatic,
boolean isDefault,
ArrayList<TypeParamInfo.Method> typeParams,
TypeElement declaringElt) |
String |
getKind() |
protected boolean |
isLegalContainerParam(TypeInfo type) |
getAbstractSuperTypes, getAnnotations, getConcreteSuperType, getDoc, getElement, getFqn, getHandlerType, getIfaceComment, getIfaceFQCN, getIfacePackageName, getIfaceSimpleName, getImportedTypes, getInstanceMethods, getMethodAnnotations, getMethodMap, getMethods, getModule, getReferencedDataObjectTypes, getReferencedTypes, getStaticMethods, getSuperTypeArguments, getSuperTypes, getType, getTypeParams, getVars, isConcrete, isLegalContainerReturn, isLegalDataObjectTypeReturn
public ProxyModel(ProcessingEnvironment env, MethodOverloadChecker methodOverloadChecker, Messager messager, Map<String,TypeElement> sources, Elements elementUtils, Types typeUtils, TypeElement modelElt)
public String getKind()
getKind
in interface Model
getKind
in class ClassModel
protected void checkParamType(ExecutableElement elem, TypeMirror type, TypeInfo typeInfo, int pos, int numParams)
checkParamType
in class ClassModel
protected void checkReturnType(ExecutableElement elem, TypeInfo type, TypeMirror typeMirror)
checkReturnType
in class ClassModel
protected void checkMethod(MethodInfo methodInfo)
checkMethod
in class ClassModel
protected MethodInfo createMethodInfo(Set<ClassTypeInfo> ownerTypes, String methodName, String comment, Doc doc, MethodKind kind, TypeInfo returnType, Text returnDescription, boolean isFluent, boolean isCacheReturn, List<ParamInfo> mParams, ExecutableElement methodElt, boolean isStatic, boolean isDefault, ArrayList<TypeParamInfo.Method> typeParams, TypeElement declaringElt)
createMethodInfo
in class ClassModel
protected boolean isLegalContainerParam(TypeInfo type)
isLegalContainerParam
in class ClassModel
Copyright © 2017. All rights reserved.