Bug 513943 - JDT null analysis external "Annotate" feature does not update popup help
Summary: JDT null analysis external "Annotate" feature does not update popup help
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.7   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2017-03-20 15:17 EDT by Matthew DOnofrio CLA
Modified: 2019-10-20 14:49 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew DOnofrio CLA 2017-03-20 15:17:42 EDT
I'm submitting this as a bug because it's not obvious without trial and error to determine if a change has occurred after adding additional annotation.

When adding external annotation, the containing project does not update its popup help to display whether annotation for a method/etc has been set.

To make annotation changes reflect as errors and warnings the project must be cleaned manually. But even after this, despite warnings and errors for the updated annotations becoming visible, the popup help will NOT show the new annotation without either restarting eclipse or manually removing and re-adding the external annotations path to the accompanying jar.

I say this is not obvious because it becomes difficult to track exactly what has been annotated and what has not while attempting to annotate a library.
Comment 1 Stephan Herrmann CLA 2017-03-21 08:38:26 EDT
Some more information needed:

When you say "popup help" are you referring to the javadoc hover of the method on which you just invoked "Annotate"?

After invoking Annotate, trying Annotate again at the same file position: does the list of proposals change, in particular: after adding an annotation does it now show a proposal to *remove* that annotation?

How are external annotations configured: is this about JRE or another library? Has an external annotations location been configured in workspace settings or in the project? Do other workspace projects refer to the same library? With/without an external annotation location? The same location?
Comment 2 Eclipse Genie CLA 2019-10-20 14:49:40 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.