Annotation Interface CopilotExperimental


@Documented @Retention(CLASS) @Target({TYPE,METHOD}) public @interface CopilotExperimental
Marks a type or method as experimental. Experimental APIs may change or be removed in future versions without notice.

By default, referencing an experimental API from consumer code causes a compile-time error. To opt in, either annotate the consuming declaration with AllowCopilotExperimental or pass the compiler option:

-Acopilot.experimental.allowed=true
Since:
1.0.0