commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitri Blinov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JEXL-229) Introduce new syntax for class literals: Class<T> and Type<T>
Date Sun, 25 Jun 2017 18:15:00 GMT
Dmitri Blinov created JEXL-229:
----------------------------------

             Summary: Introduce new syntax for class literals: Class<T> and Type<T>
                 Key: JEXL-229
                 URL: https://issues.apache.org/jira/browse/JEXL-229
             Project: Commons JEXL
          Issue Type: New Feature
    Affects Versions: 3.1
            Reporter: Dmitri Blinov
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message