(jdeprscan) don't warn for uses that occur within the same top-level type as deprecation

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: tools

      JLS 9.6.4.6 says that no warning is emitted if the use of a deprecated element occurs within the same top-level type as that element.

      JDeprScan doesn't currently do this analysis. It seems to have enough information to do so, and this would cut down on some noise. A test case should be added for this as well.

            Assignee:
            Stuart Marks
            Reporter:
            Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: