Uploaded image for project: 'SonarJava'
  1. SonarJava
  2. SONARJAVA-1577

Type of ".class" expressions should be a parametrized class type instead of the raw type class

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.12
    • Component/s: Semantic
    • Labels:
      None

      Description

      The type of the ".class" expressions should be parameterized types of class, instead of the raw type class.

      Current: A.class --> Type = Class
      Correct: A.class --> Type = Class<A>
      

        Attachments

          Activity

            People

            • Assignee:
              nicolas.peru Nicolas Peru
              Reporter:
              michael.gumowski Michael Gumowski
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: