Annotation Interface BeanCtorApply


Dynamically applies a @BeanCtor annotation to specified constructors.

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

Example:

@BeanCtorApply(on="Person(String,int)", value=@BeanCtor(properties="name,age")) public class MyConfig {}

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
  • Required Element Summary

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

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