Class WiringBuilderMethodGenerator

java.lang.Object
no.sikt.graphitron.generators.abstractions.SimpleMethodGenerator
no.sikt.graphitron.generators.codeinterface.wiring.WiringBuilderMethodGenerator
All Implemented Interfaces:
MethodGenerator
Direct Known Subclasses:
CodeInterfaceBuilderMethodGenerator, WiringMethodGenerator

public class WiringBuilderMethodGenerator extends SimpleMethodGenerator
This class generates code for the RuntimeWiring Builder fetching method.
  • Field Details

    • METHOD_NAME

      public static final String METHOD_NAME
      See Also:
    • includeNode

      protected final boolean includeNode
  • Constructor Details

  • Method Details

    • getSpec

      public no.sikt.graphitron.javapoet.MethodSpec.Builder getSpec(String methodName, no.sikt.graphitron.javapoet.TypeName returnType)
    • generate

      public no.sikt.graphitron.javapoet.MethodSpec generate()
      Specified by:
      generate in class SimpleMethodGenerator
      Returns:
      The complete javapoet MethodSpec based on the provided target.