Package eu.cloudhopper.mc.annotations
Annotation Interface Extensions
Container annotation for repeating
Extension annotations.
This annotation is used internally by the Java compiler to support
multiple Extension declarations on a single element. It is not
intended for direct use in application code.
Instead of using this annotation directly, developers should declare
multiple @Extension annotations using Java's Repeatable
syntax. The compiler automatically wraps them in this container.
Example usage:
@Function(
name = "myFunc",
extensions = {
@Extension(
name = ExtensionKeys.Aws.Architecture.KEY,
value = ExtensionKeys.Aws.Architecture.Values.ARM64)
}
)
- See Also:
-
Required Element Summary
Required Elements