Hello,
I know it is quite related to Java but it would be nice to add the "Annotation" type in class diagram (don't know it this is relevant for other languages)
By now, we have :
abstract class AbstractList
abstract AbstractCollection
interface List
interface Collection
class ArrayList
enum TimeUnit
Could we also have (for instance) :
annotation SuppressWarnings
For instance, the following code
@startuml
abstract class AbstractList
abstract AbstractCollection
interface List
interface Collection
annotation Override
annotation SupressWarnings
List <|-- AbstractList
SupressWarnings <-- AbstractList
Collection <|-- AbstractCollection
Collection <|- List
AbstractCollection <|- AbstractList
AbstractList <|-- ArrayList
class ArrayList {
Object[] elementData
size()
}
enum TimeUnit {
DAYS
HOURS
MINUTES
}
@enduml
could output this :
equals to
class Override << (@,#FF7700) >>
Thanks a lot