java uml diagram   The quickest way to understand how Java code is structured

 

Index

 

Include

Description

Use the Include tag to specify that an Java element accepted by another element selector is accepted by this element selector. While this is not useful used on its own, it can be used to combine other element selectors.

Parameters

Attribute Description Required

typeSelector

fieldSelector

methodSelector

the name of the other element selector for which accepted Java elements are accepted by this element selector Yes
forwardedSwitches the comma separated names of the switches which the parent requires to be passed to the including element selector No
anded give up assessing the Java element against sibling criteria if this one fails No

Declared in

TypeSelector, MethodSelector, FieldSelector

Examples

<TypeSelector name="jUnitTests">
<Include typeSelector="jUnit3Tests"/> <Include typeSelector="jUnit4Tests"/>
</TypeSelector>

Declares a type selector which accepts all types accepted by the jUnit3Test type selector or the jUnit4Test