D
Dimitri Kurashvili
Below is a definition of ClassInstanceCreation as it is defined in
Eclipse JDT.
I'm confused about what is a first expression (i mark it with question
sign).
========================================
ClassInstanceCreation:
[ Expression . ] < - - - - - - - - - - - - ?
new [ < Type { , Type } > ]
Type ( [ Expression { , Expression } ] )
[ AnonymousClassDeclaration ]
========================================
So i can write something like this:
========================================
SomeExpression.new String("mystring")
========================================
what may be SomeExpression that the code above can compile?
==
Thanks, Dimitri
Eclipse JDT.
I'm confused about what is a first expression (i mark it with question
sign).
========================================
ClassInstanceCreation:
[ Expression . ] < - - - - - - - - - - - - ?
new [ < Type { , Type } > ]
Type ( [ Expression { , Expression } ] )
[ AnonymousClassDeclaration ]
========================================
So i can write something like this:
========================================
SomeExpression.new String("mystring")
========================================
what may be SomeExpression that the code above can compile?
==
Thanks, Dimitri