Class CopilotToolProcessor

java.lang.Object
javax.annotation.processing.AbstractProcessor
com.github.copilot.tool.CopilotToolProcessor
All Implemented Interfaces:
Processor

@SupportedAnnotationTypes("com.github.copilot.tool.CopilotTool") @SupportedSourceVersion(RELEASE_17) @CopilotExperimental public class CopilotToolProcessor extends AbstractProcessor
JSR 269 annotation processor that finds CopilotTool-annotated methods and generates $$CopilotToolMeta companion classes containing tool definitions, JSON Schema, and invocation lambdas.

For a class com.example.MyTools containing @CopilotTool methods, this processor generates com.example.MyTools$$CopilotToolMeta in the same package.

Since:
1.0.2