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

Groovysh does not support static import aliasing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 2.4.6
    • None
    • Groovysh
    • None

    Description

      Groovysh does not as yet seem to support static import aliasing, e.g.:

      groovy:000> import static Calendar.getInstance as now
      ===> static Calendar.getInstance as now
      groovy:000> now.class
      Unknown property: now
      groovy:000>

      See http://docs.groovy-lang.org/latest/html/documentation/index.html#_static_import_aliasing

      Attachments

        Activity

          People

            jwagenleitner John Wagenleitner
            jake.gage@gmail.com Jake Gage
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: