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

 

Index

 

Declares

Description

Use the Declares tag to indicate that a Java type is accepted if it declares

Parameters

Attribute Description Required

typeSelector

fieldSelector

methodSelector

the name of the other element selector for which accepted Java declare one or more accepted Java elements 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

Declared in

TypeSelector

Examples

<TypeSelector name="commandOwner">
<Declares typeSelector="command"/>
</TypeSelector>

Declares a type selector which accepts all types which declare an inner type accepted by the type selector named command.