[
https://issues.jboss.org/browse/JBIDE-10496?page=com.atlassian.jira.plugi...
]
Viacheslav Kabanovich updated JBIDE-10496:
------------------------------------------
Description:
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.
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.
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
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.
--
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