Is it possible to have field names that contain parentheses in class diagrams?

+1 vote
asked Apr 23, 2013 in To be sorted by anonymous
I have many fields that contain parentheses as part of the field name. Is there a way to force these to be recognized as fields instead of automatically having them classified as methods?

1 Answer

+1 vote
answered Apr 24, 2013 by plantuml (295,000 points)

What you can do, is to use __ as separator, and put your fields in first position:

class Foo {