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

Offer access to Parameterized Type in Java Analyzer semantic API

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3
    • Component/s: Java API, Plugin
    • Labels:

      Description

      Semantic API changes, all located within the org.sonar.plugins.java.api.semantic.Type interface:

      • New methods, which allows to check if a type is parameterized, and to retrieve information related to Type arguments of a parameterized type:
        isParameterized(): boolean
        typeArguments(): List<Type>
        

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.gumowski Michael Gumowski
              Reporter:
              michael.gumowski Michael Gumowski
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: