Top Fields Constructors Methods
io.vertx.codegen

public Class ModuleModel

extends Object
implements Model
Class Inheritance
All Implemented Interfaces
io.vertx.codegen.Model
Imports
io.vertx.codegen.annotations.ModuleGen, .VertxGen, io.vertx.codegen.format.KebabCase, io.vertx.codegen.type.AnnotationValueInfo, .AnnotationValueInfoFactory, .ClassKind, .TypeMirrorFactory, javax.lang.model.element.AnnotationValue, .Element, .ElementKind, .Modifier, .PackageElement, .TypeElement, .TypeParameterElement, javax.lang.model.type.DeclaredType, .TypeMirror, javax.lang.model.util.Elements, .Types, java.util.Arrays, .List, .Map, java.util.stream.Collectors

Author
Julien Viet

Field Summary

Modifier and TypeField and Description
private final List<AnnotationValueInfo>
private final PackageElement
private final ModuleInfo

Constructor Summary

AccessConstructor and Description
public
ModuleModel(Elements elementUtils, Types typeUtils, PackageElement element)

Method Summary

Modifier and TypeMethod and Description
public List<AnnotationValueInfo>
public Element
public String
public String
public ModuleInfo
public String
public Map<String, Object>
private void
isLegalJsonMapper(Elements elementUtils, Types typeUtils, DeclaredType mapperType)

private static boolean
public boolean
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

annotationValueInfosback to summary
private final List<AnnotationValueInfo> annotationValueInfos
elementback to summary
private final PackageElement element
infoback to summary
private final ModuleInfo info

Constructor Detail

ModuleModelback to summary
public ModuleModel(Elements elementUtils, Types typeUtils, PackageElement element)

Method Detail

getAnnotationsback to summary
public List<AnnotationValueInfo> getAnnotations()

Overrides default io.vertx.codegen.Model.getAnnotations.

getElementback to summary
public Element getElement()

Implements io.vertx.codegen.Model.getElement.

Annotations
@Override
getFqnback to summary
public String getFqn()

Implements io.vertx.codegen.Model.getFqn.

Annotations
@Override
getKindback to summary
public String getKind()

Implements io.vertx.codegen.Model.getKind.

Annotations
@Override
getModuleback to summary
public ModuleInfo getModule()

Implements io.vertx.codegen.Model.getModule.

Annotations
@Override
getNameback to summary
public String getName()
getVarsback to summary
public Map<String, Object> getVars()

Overrides default io.vertx.codegen.Model.getVars.

Annotations
@Override
isLegalJsonMapperback to summary
private void isLegalJsonMapper(Elements elementUtils, Types typeUtils, DeclaredType mapperType)
isLegalJsonTypeback to summary
private static boolean isLegalJsonType(TypeMirror type)
processback to summary
public boolean process()

Implements io.vertx.codegen.Model.process.

Annotations
@Override
translateFqnback to summary
public String translateFqn(String name)