Community
Participate
Working Groups
Currently there is no API provided to find out if the TypeBinding provided on 'var' type is denotable or not-denotable type. This is needed in providing QuickAssists on var type.
@jesper Any plans of adding the isDenotable API in JDT Core by the end of July? You had mentioned in the patch comments of the Gerrit patch below on March 20th that you did not have time then. https://git.eclipse.org/r/#/c/119592/ Can you do it now?
I tried to find the relevant parts in the spec, but I can't find any mention of denotable (or otherwise) in the spec. All I find is this vague reference in 14.4.1: "Note that some variables declared with var cannot be declared with an explicit type, because the type of the variable is not denotable." Kalyan, any complications in keeping the logic in the UI itself until we have clear idea on the definition?
(In reply to Jay Arthanareeswaran from comment #2) > I tried to find the relevant parts in the spec, but I can't find any mention > of denotable (or otherwise) in the spec. All I find is this vague reference > in 14.4.1: > > "Note that some variables declared with var cannot be declared with an > explicit type, because the type of the variable is not denotable." > > Kalyan, any complications in keeping the logic in the UI itself until we > have clear idea on the definition? No Problem. I will close the JDT UI bug 533609 and you can close this bug.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.