(--------)
What you can do, is to use __ as separator, and put your fields in first position:
@startuml class Foo { T(A) __ } @enduml