Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ajdt-dev] How to retrieve target IJavaElement from IAJCodeElement?

On Mon 23.Jun'08 at 11:46:28 -0700, Andy Clement wrote:
Well, I would say as the current definition of IAJCodeElement is this:

public interface IAJCodeElement extends IJavaElement {

}

you might say it is not finished :)

LOL, I get the point! :)

The model that you have access to through the guide on the wiki
provides everything about the relationships between elements, it is all
there and it is used to populate all the extra views we have, and
gutters markers, etc.   I'm surprised if it is insufficient for
method-calls and field-gets - that seems like it would be a big bug

That would be my assessment.
(or are you just talking about duplicate identical join points on one
line - which makes it a smaller bug?).

No, that's a different but related issue.

If you see the information in the cross reference view (or in the
problems view after activating the option to display weaveinfo messages
in there) then it should be accessible in the model.

Actually, no I don't see it there (please correct me if I am mistaken).
From this view there doesn't seem to be a way to open the declaration of
the target method.

Making parts of that model accessible through more methods on
IAJCodeElement is a different requirement.

Yes, I agree but I believe it is highly related.

I see you have raised
https://bugs.eclipse.org/bugs/show_bug.cgi?id=238054 but that doesn't
mention the IAJCodeElements, just the duplicate jps on one line not
manifesting as multiple entries in the popup menus and views.

Right, that's a different bug. I figured I'd try the list before I
submitted another one :) Shall I go ahead? Thanks again!

Raffi


Back to the top