talsma-ict / umldoclet

Automatically generate PlantUML diagrams in javadoc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Property getters/setters are too general

sjoerdtalsma opened this issue · comments

Expected Behavior

static method Set<T> setOf(T... values) not to be rendered as an of property.
Two checks could have 'disqualified' this method from being rendered as a property:

  • static
  • setX must be void
  • setX must have a single parameter
  • getX must be non-void
  • getX must have zero parameters

Actual Behavior

renders as an of property of with cardinality *

Steps to Reproduce the Problem

  1. Render javadoc of the current enumerables project
  2. Look at package diagram for nl.talsmasoftware.enumerables
  3. (Somehow the class diagram doesn't have this issue)

Specifications

Also in the recent 2.0.10 version the static setOf(...) method is still rendered as an of self-relationship.

image