Interface SwitchStatementTree

    • Method Detail

      • asSwitchExpression

        @Deprecated
        SwitchExpressionTree asSwitchExpression()
        Deprecated.
        since SonarJava 6.15, for removal, SwitchStatementTree will not have an underlying SwitchExpressionTree but share the same SwitchTree interface with SwitchExpressionTree
        Consider the statement as a Switch expression
        Since:
        SonarJava 5.12: Support of Java 12