Annotation Interface MarshalledIgnoreApply


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

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

Example:

@MarshalledIgnoreApply(on="com.example.Foo", value=@MarshalledIgnore()) public class MyConfig {}

See Also:
  • Element Details

    • on

      Dynamically apply this annotation to the specified classes/methods/fields.

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

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

      Dynamically apply this annotation to the specified classes.

      Identical to on() except allows you to specify class objects instead of strings.

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