Interface CustomAnnotationTemplateCreator

All Known Implementing Classes:
HttpEndpointCreator, HttpMethodCreator

public interface CustomAnnotationTemplateCreator
Instances of this are found via the service loader during compilation time and called by the io.helidon.pico.processor.CustomAnnotationProcessor. It should be noted that this contract may be called multiple times since annotation processing naturally happens over multiple iterations.
  • Method Details

    • annoTypes

      Set<String> annoTypes()
      These are the set of annotation types that will trigger a call this producer.
      Returns:
      the supported annotation types for this producer
    • create

      The implementor should return empty if the request should not be handled.
      Parameters:
      request - the request
      Returns:
      the response that will describe what template to produce, or empty to to cause processing to skip