Uses of Class
nl.datasteel.crudcraft.codegen.writer.WriteContext
Packages that use WriteContext
Package
Description
-
Uses of WriteContext in nl.datasteel.crudcraft.codegen.writer
Methods in nl.datasteel.crudcraft.codegen.writer that return WriteContextModifier and TypeMethodDescriptionstatic WriteContextWriteContext.snapshotOf(WriteContext other) Creates a snapshot of the current context.Methods in nl.datasteel.crudcraft.codegen.writer with parameters of type WriteContextModifier and TypeMethodDescriptionList<com.squareup.javapoet.JavaFile> DtoGenerator.generate(ModelDescriptor md, WriteContext ctx) Generates DTO classes for the given model descriptor.List<com.squareup.javapoet.JavaFile> Generator.generate(ModelDescriptor model, WriteContext ctx) Builds the java files for the given model without writing them.List<com.squareup.javapoet.JavaFile> RelationshipMetaGenerator.generate(ModelDescriptor md, WriteContext ctx) Generates the RelationshipMeta class for the given model descriptor.List<com.squareup.javapoet.JavaFile> SearchGenerator.generate(ModelDescriptor md, WriteContext ctx) Generates the SearchRequest DTO and Specification for the given model descriptor.static booleanGenerator.isValidModelDescriptor(ModelDescriptor model, WriteContext ctx) Performs basic sanity checks on the descriptor before code generation.static WriteContextWriteContext.snapshotOf(WriteContext other) Creates a snapshot of the current context.default voidGenerator.write(ModelDescriptor model, WriteContext ctx) Writes the generated files using the provided context.static voidWriterRegistry.writeAll(ModelDescriptor modelDescriptor, WriteContext ctx) Dispatches generation for the given model descriptor.Constructors in nl.datasteel.crudcraft.codegen.writer with parameters of type WriteContextModifierConstructorDescriptionWriteContext(WriteContext other) Creates a deep/shallow copy of the context. -
Uses of WriteContext in nl.datasteel.crudcraft.codegen.writer.search
Constructors in nl.datasteel.crudcraft.codegen.writer.search with parameters of type WriteContextModifierConstructorDescriptionConstructs a SearchFieldCollector with the given WriteContext. -
Uses of WriteContext in nl.datasteel.crudcraft.codegen.writer.stubs
Methods in nl.datasteel.crudcraft.codegen.writer.stubs with parameters of type WriteContextModifier and TypeMethodDescriptioncom.squareup.javapoet.JavaFileControllerGenerator.build(ModelDescriptor modelDescriptor, WriteContext ctx) com.squareup.javapoet.JavaFileMapperGenerator.build(ModelDescriptor modelDescriptor, WriteContext ctx) Generates the mapper interface for the given model descriptor.com.squareup.javapoet.JavaFileRepositoryGenerator.build(ModelDescriptor modelDescriptor, WriteContext ctx) Generates the repository interface for the given model descriptor.com.squareup.javapoet.JavaFileServiceGenerator.build(ModelDescriptor modelDescriptor, WriteContext ctx) Generates the service class for the given model descriptor.com.squareup.javapoet.JavaFileStubGenerator.build(ModelDescriptor modelDescriptor, WriteContext ctx) Build the JavaFile representing the stub.default List<com.squareup.javapoet.JavaFile> StubGenerator.generate(ModelDescriptor modelDescriptor, WriteContext ctx) Generates the JavaFile for the given model descriptor.voidControllerGenerator.write(ModelDescriptor modelDescriptor, WriteContext ctx) default voidStubGenerator.write(ModelDescriptor modelDescriptor, WriteContext ctx) Writes the generated stub files to the context.