Annotation Interface NamePropertyApply


Dynamically applies a @NameProperty annotation to specified methods or fields.

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

Example:

@NamePropertyApply(on="com.example.Foo.myField", value=@NameProperty) 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 @NameProperty annotation to apply.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Dynamically apply this annotation to the specified methods/fields.
  • Element Details

    • on

      Dynamically apply this annotation to the specified methods/fields.

      Identifies the targets this annotation applies to using fully-qualified names.

      See Also:
      Returns:
      The annotation value.
      Default:
      {}