Annotation Interface YamlApply


Dynamically applies a @Yaml annotation to specified classes, methods, or fields.

This annotation separates the targeting concern (on()/onClass()) from the content concern (value()), enabling @Yaml to be a pure data annotation without marshall-specific application machinery.

Example:

@YamlApply(onClass=MyBean.class, value=@Yaml) public class MyConfig {}

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    A collection of @YamlApply annotations.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The @Yaml annotation to apply.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Dynamically apply this annotation to the specified classes/methods/fields.
    Class<?>[]
    Dynamically apply this annotation to the specified classes.