Annotation Interface Icons


@Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface Icons
Indicates an IconProvider which can provide icons for the annotated Tool, Resource, Resource Template or Prompt.

Note that the lifecycle of an IconProvider is implementation-specific. For example, implementations may require an IconProvider to have a no-argument constructor, or may require it to be looked up using a component framework.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends IconProvider>
    The icon provider to use to retrieve icons for the annotated element
  • Element Details

    • iconProvider

      Class<? extends IconProvider> iconProvider
      The icon provider to use to retrieve icons for the annotated element
      Returns:
      the icon provider class