Henri Biestro created JEXL-379:
----------------------------------

             Summary: Allow new to use class identifier
                 Key: JEXL-379
                 URL: https://issues.apache.org/jira/browse/JEXL-379
             Project: Commons JEXL
          Issue Type: Improvement
    Affects Versions: 3.2.1
            Reporter: Henri Biestro
            Assignee: Henri Biestro
             Fix For: 3.3


WHAT:
The Java syntax for new is easier/nicer to use than the current JEXL one that 
forces to use a fully qualified class name (FQCN) to instantiate an object. The 
improvement will allow using the Java new syntax using either an FQCN (as 
identifier) or just an identifier.
HOW:
The grammar is augmented to allow the 'new qualified_class_name(<args>)' 
syntax. Provision is to be made to allow an 'import'-like mechanism so class 
identifiers can be resolved (JexlContext extension).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to