Top-level Aspects
Aspect Orientation
noreferences

@@description
<p>Aspects in Umple can also be specified at top level (i.e. outside any classes). In this case, a set of classes in which to inject the code must be specified, within curly brackets. Glob patterns can be used to match a set of classes, where an asterisk is the wildcard character.<p>

@@syntax
[[toplevelCodeInjection]] [[toplevelBeforeCode]] [[toplevelAfterCode]]

@@example @@caption Example with &quot;after&quot; statement that will inject code in all set functions in all classes @@endcaption
@@source manualexamples/ToplevelAspect1.ump
@@endexample

@@example @@caption Example that will inject code after two specific methods in all classes starting with Student @@endcaption
@@source manualexamples/ToplevelAspect2.ump
@@endexample
