You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dmitri Blinov (JIRA)" <ji...@apache.org> on 2017/09/27 15:02:00 UTC

[jira] [Closed] (JEXL-229) Introduce new syntax for class literals: Class and Type

     [ https://issues.apache.org/jira/browse/JEXL-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitri Blinov closed JEXL-229.
------------------------------
       Resolution: Workaround
    Fix Version/s: 3.1

> 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
>             Fix For: 3.1
>
>
> 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)