Annotation Interface IgnoreInMatcher


This annotation marks a field or a method as to be ignored in the generated matcher.

With this option, the field will be marked as ignored in the resulting matcher.

The annotation must be used on the public getter or the field (it this one is public). Having a public field and a public getter should be avoided as in this case it is not sure that this annotation will be detected.

Since:
0.0.7
Author:
borettim
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    This attribute may be used to add a comments inside the generated matcher report indicating why (for example) this field is ignored.
  • Element Details

    • comments

      String comments
      This attribute may be used to add a comments inside the generated matcher report indicating why (for example) this field is ignored.
      Returns:
      the comments or an empty string if not set.
      Default:
      ""