Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-229

Introduce new syntax for class literals: Class<T> and Type<T>

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Workaround
    • 3.1
    • 3.1
    • None

    Description

      For the purpose of type checking in jexl, It whould be convenient to have some simple syntax for referring to class types, like Class<String> or Type<Boolean>. Literal Class<T> should refer to general classes, and literal Type<T> should refer to primitive type classes. For literals Class<T> it could be possible to specify partal class name, which should resolve to classes in basic packages like java.lang and java.util, for example.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dmitri_blinov Dmitri Blinov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: