![]() |
The quickest way to understand how Java code is structured |
Use the Exclude tag to specify that an Java element accepted by another element selector is not accepted by this element selector.
| Attribute | Description | Required |
|---|---|---|
typeSelector fieldSelector methodSelector |
the name of the other element selector for which accepted Java elements are not accepted by this element selector | Yes |
| forwardedSwitches | the comma separated names of the switches which the parent requires to be passed to the excluding element selector | No |
| anded | give up assessing the Java element against sibling criteria if this one fails | No |
TypeSelector, MethodSelector, FieldSelector
<FieldSelector name="nonTransientFields">
<Exclude fieldSelector="transientFields"/>
</FieldSelector>
Declares a field selector which accepts all fields not accepted by the field selector named transientFields.