Annotation Type Value.Redacted


  • @Documented
    @Target(METHOD)
    public static @interface Value.Redacted
    Marks attribute for exclusion from auto-generated toString method. It will be just excluded by default. However you can choose to put special masking characters next to the attribute instead of value, like 3 stars or 4 pound signs, this replacement string can be set using Value.Style.redactedMask() style attribute.