[
https://issues.jboss.org/browse/JBIDE-10496?page=com.atlassian.jira.plugi...
]
Viacheslav Kabanovich updated JBIDE-10496:
------------------------------------------
Description:
1. CDICoreValidator uses method CDIUtil.convertToSourceReference() to create instance of
ITextSourceReference, e.g. for name range of a Java element. Now that is not enough,
because quick fix 'Add @SuppressWarnings' requires IJavaSourceReference.
2. One more case is using ITypeDeclaration as reference. It should be converted to
IJavaSourceReference when it is relevant.
3. ELValidator for .java files should try to find member by offset, and if found then add
marker with IJavaSourceReference instance.
was:
CDICoreValidator uses method CDIUtil.convertToSourceReference() to create instance of
ITextSourceReference, e.g. for name range of a Java element. Now that is not enough,
because quick fix 'Add @SuppressWarnings' requires IJavaSourceReference.
One more case is using ITypeDeclaration as reference. It should be converted to
IJavaSourceReference when it is relevant.
Create object of type IJavaSourceReference where it makes sense
instead of ITextSourceReference
-----------------------------------------------------------------------------------------------
Key: JBIDE-10496
URL:
https://issues.jboss.org/browse/JBIDE-10496
Project: Tools (JBoss Tools)
Issue Type: Task
Components: CDI
Affects Versions: 3.3.0.Beta1
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Fix For: 3.3.0.Beta1
1. CDICoreValidator uses method CDIUtil.convertToSourceReference() to create instance of
ITextSourceReference, e.g. for name range of a Java element. Now that is not enough,
because quick fix 'Add @SuppressWarnings' requires IJavaSourceReference.
2. One more case is using ITypeDeclaration as reference. It should be converted to
IJavaSourceReference when it is relevant.
3. ELValidator for .java files should try to find member by offset, and if found then add
marker with IJavaSourceReference instance.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira