Bug 532751 - [10] Provide isDenotable API on ITypeBinding to differentiate with non-denotable types
Summary: [10] Provide isDenotable API on ITypeBinding to differentiate with non-denota...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.8   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: api
Depends on:
Blocks: 532539 533609
  Show dependency tree
 
Reported: 2018-03-22 05:46 EDT by Kalyan Prasad Tatavarthi CLA
Modified: 2022-10-28 13:41 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kalyan Prasad Tatavarthi CLA 2018-03-22 05:46:38 EDT
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.
Comment 1 Kalyan Prasad Tatavarthi CLA 2018-07-04 04:28:29 EDT
@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?
Comment 2 Jay Arthanareeswaran CLA 2018-11-12 05:20:30 EST
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?
Comment 3 Kalyan Prasad Tatavarthi CLA 2018-11-14 10:41:39 EST
(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.
Comment 4 Eclipse Genie CLA 2020-11-04 09:37:59 EST
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.
Comment 5 Eclipse Genie CLA 2022-10-28 13:41:50 EDT
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.