Annotation Type ToBuilderIgnoreField


@Target(METHOD) @Retention(CLASS) public @interface ToBuilderIgnoreField
Used to suppress certain fields from being considered in the spot-bugs rule for toBuilder(). This annotation must be attached to the toBuilder() method to function.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Specify which fields to ignore in the to-builder spotbugs rule.
  • Element Details

    • value

      String[] value
      Specify which fields to ignore in the to-builder spotbugs rule.