[jbosstools-issues] [JBoss JIRA] (JBIDE-10496) Create object of type IJavaSourceReference where it makes sense instead of ITextSourceReference

Alexey Kazakov (Resolved) (JIRA) jira-events at lists.jboss.org
Wed Dec 21 20:09:09 EST 2011


     [ https://issues.jboss.org/browse/JBIDE-10496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov resolved JBIDE-10496.
------------------------------------

      Assignee: Viacheslav Kabanovich  (was: Alexey Kazakov)
    Resolution: Done


fixed
                
> 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

        


More information about the jbosstools-issues mailing list