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

Higlighting of enum constant

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.8
    • Fix Version/s: None
    • Component/s: Plugin
    • Labels:
      None

      Description

      When feeding SonarQube symbol table some references may have a different length than their definition symbol (this is the case for enum constant).

      Once the sonarqube API is able to receive this information, the java plugin should be updated to feed this information properly to the platform.

      public MyEnum {
        FOO("foo"),
        BAR("bar");
      
        private MyEnum(String s) {
        }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nicolas.peru Nicolas Peru
              Reporter:
              benzonico OLD - Nicolas Peru
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: