Class ToolAnnotationTransformer

java.lang.Object
io.micronaut.langchain4j.processor.ToolAnnotationTransformer
All Implemented Interfaces:
io.micronaut.inject.annotation.AnnotationTransformer<dev.langchain4j.agent.tool.Tool>, io.micronaut.inject.annotation.TypedAnnotationTransformer<dev.langchain4j.agent.tool.Tool>

@Internal public class ToolAnnotationTransformer extends Object implements io.micronaut.inject.annotation.TypedAnnotationTransformer<dev.langchain4j.agent.tool.Tool>
  • Constructor Details

    • ToolAnnotationTransformer

      public ToolAnnotationTransformer()
  • Method Details

    • annotationType

      public Class<dev.langchain4j.agent.tool.Tool> annotationType()
      Specified by:
      annotationType in interface io.micronaut.inject.annotation.TypedAnnotationTransformer<dev.langchain4j.agent.tool.Tool>
    • transform

      public List<io.micronaut.core.annotation.AnnotationValue<?>> transform(io.micronaut.core.annotation.AnnotationValue<dev.langchain4j.agent.tool.Tool> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
      Specified by:
      transform in interface io.micronaut.inject.annotation.AnnotationTransformer<dev.langchain4j.agent.tool.Tool>