Refactor VisibleMemberTable (confusing has/getVisibleMembers methods)

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • tbd
    • Affects Version/s: 21
    • Component/s: tools

      These methods are confusing:

          public List<Element> getVisibleMembers(Kind kind)
          public boolean hasVisibleMembers(Kind kind)

      Despite their names, those methods deal with different selection of members. One result is that hasVisibleMembers(kind) is not an equivalent for !getVisibleMembers(kind).isEmpty().

            Assignee:
            Pavel Rappo
            Reporter:
            Pavel Rappo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: