Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-5329

Allow static type checking to be turned off for individual classes/methodss

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-2
    • 2.0-beta-3
    • Static Type Checker
    • None

    Description

      In general I want to turn on static type checking at a fairly high granularity, such as entire class (or package if you implement package-level type checking). I may want to turn type checking off for an individual sub-unit. If for example I have a class with a lot of methods, and want to turn off checking for one method, I don't want to have to annotate every single method with @TypeChecked except the one exception.

      Attachments

        Activity

          People

            melix Cédric Champeau
            ingineering Jeff Sussna
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: