Enterprise Architect supports round trip engineering of Java - including AspectJ extensions - where the following conventions are used.
Stereotypes
Stereotype |
Applies to |
Corresponds To |
static |
Class or Interface |
The static keyword. |
annotation |
Interface |
An annotation type. |
enum |
Attributes within a class stereotyped enumeration |
An enumerated option, distinguished from other attributes that have no stereotype. |
operator |
Operation |
An operator. |
property get |
Operation |
A read property. |
property set |
Operation |
A write property. |
enumeration |
Class |
An enum type. |
Tagged Values
Tag |
Applies to |
Corresponds To |
annotations |
Anything |
The annotations on the current code feature. |
dynamic |
Class or Interface |
The dynamic keyword. |
generic |
Operation |
The generic parameters to this operation. |
parameterList |
Parameter |
A parameter list with the ... syntax. |
arguments |
Attribute with stereotype enum |
The arguments that apply to this enumerated value. |
attribute_name |
Operation with stereotype property get or property set |
The name of the variable behind this property. |
throws |
Operation |
The exceptions that are thrown by this method. |
Other Conventions
· | Package statements are generated when the current package is not a namespace root |
· | The Const property of an attribute or operation corresponds to the final keyword |
· | The Transient property of an attribute corresponds to the volatile keyword |
· | The Fixed property of a parameter corresponds to the final keyword. |
See Also