Interface MethodGenerator

All Known Implementing Classes:
AbstractMapperMethodGenerator, AbstractSchemaMethodGenerator, CodeInterfaceBuilderMethodGenerator, CodeInterfaceSchemaMethodGenerator, CodeInterfaceTypeRegistryMethodGenerator, DataFetcherMethodGenerator, DBMethodGenerator, EntityDBFetcherMethodGenerator, EntityFetcherMethodGenerator, FetchCountDBMethodGenerator, FetchDBMethodGenerator, FetchMappedObjectDBMethodGenerator, FetchMultiTableDBMethodGenerator, FetchNodeImplementationDBMethodGenerator, FetchNodeMethodGenerator, FetchSingleTableInterfaceDBMethodGenerator, JavaRecordMapperMethodGenerator, NestedFetchDBMethodGenerator, OperationMethodGenerator, RecordMapperMethodGenerator, RecordValidatorMethodGenerator, SimpleMethodGenerator, TransformerListMethodGenerator, TransformerMethodGenerator, TypeNameMethodGenerator, TypeRegistryMethodGenerator, TypeResolverMethodGenerator, UpdateDBMethodGenerator, WiringBuilderMethodGenerator, WiringMethodGenerator

public interface MethodGenerator
A method generator generates a set of methods for any purpose.
  • Method Details

    • generateAll

      List<no.sikt.graphitron.javapoet.MethodSpec> generateAll()
      Returns:
      List of complete javapoet MethodSpec that can be generated for this object.
    • getDependencyMap

      Map<String,List<Dependency>> getDependencyMap()
      Returns:
      A set containing all dependencies necessary for these generated methods. Key is the method name where the dependency is needed.