Various frameworks, like Grails and Gorm, add a lot of stuff into classes via traits. Common for them all are that their names start with the trait name (dots converted to underscores) and then two underscores followed by the field name. Eg.
The above would be from the org.grails.datastore.gorm.GormValidateable trait and it has the skipValidate field that is added to the class that implements the trait.
All this adds a lot of extra garbage to the plantuml. Would you consider filtering these out? Or make a way to add custom filters for field names? Possibly with regex capabilities?
I tried using this project in a Groovy / Grails project, but unfortunately both of them do a lot of wizardry in regards to classes.
Groovy itself adds this synthetic field to classes:
private transient groovy.lang.MetaClass com.example.metaClass
Various frameworks, like Grails and Gorm, add a lot of stuff into classes via traits. Common for them all are that their names start with the trait name (dots converted to underscores) and then two underscores followed by the field name. Eg.
private transient boolean com.example.org_grails_datastore_gorm_GormValidateable__skipValidate
The above would be from the org.grails.datastore.gorm.GormValidateable trait and it has the skipValidate field that is added to the class that implements the trait.
All this adds a lot of extra garbage to the plantuml. Would you consider filtering these out? Or make a way to add custom filters for field names? Possibly with regex capabilities?