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

Viacheslav Kabanovich (Updated) (JIRA) jira-events at lists.jboss.org
Thu Dec 15 20:39:09 EST 2011


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

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

        


More information about the jbosstools-issues mailing list