Module powerunit.matchers
Annotation Interface IgnoreInMatcher
@Documented
@Retention(SOURCE)
@Target({FIELD,METHOD,RECORD_COMPONENT})
@Inherited
public @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
-
Element Details
-
comments
String commentsThis 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:
- ""
-