Class MapperGenBase

    • Constructor Detail

      • MapperGenBase

        public MapperGenBase()
    • Method Detail

      • annotations

        public Collection<Class<? extends Annotation>> annotations()
        Overrides:
        annotations in class io.vertx.codegen.processor.Generator<io.vertx.codegen.processor.DataObjectModel>
      • filename

        public String filename​(io.vertx.codegen.processor.DataObjectModel model)
        Overrides:
        filename in class io.vertx.codegen.processor.Generator<io.vertx.codegen.processor.DataObjectModel>
      • getAnnotation

        protected abstract Optional<io.vertx.codegen.processor.type.AnnotationValueInfo> getAnnotation​(io.vertx.codegen.processor.DataObjectModel model)
      • genSimpleName

        protected abstract String genSimpleName​(io.vertx.codegen.processor.DataObjectModel model)
      • render

        public String render​(io.vertx.codegen.processor.DataObjectModel model,
                             int index,
                             int size,
                             Map<String,​Object> session)
        Overrides:
        render in class io.vertx.codegen.processor.Generator<io.vertx.codegen.processor.DataObjectModel>
      • renderDeclaration

        protected abstract void renderDeclaration​(io.vertx.codegen.processor.DataObjectModel model,
                                                  PrintWriter writer)
      • renderMembers

        protected abstract void renderMembers​(String visibility,
                                              io.vertx.codegen.processor.DataObjectModel model,
                                              PrintWriter writer)
      • getMappingName

        protected String getMappingName​(io.vertx.codegen.processor.PropertyInfo prop,
                                        String annotationName)