Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10496

Create object of type IJavaSourceReference where it makes sense instead of ITextSourceReference

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Beta1
    • 3.3.0.Beta1
    • cdi
    • None

      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.

            scabanovich Viacheslav Kabanovich (Inactive)
            scabanovich Viacheslav Kabanovich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: