Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] ASTParser and AjASTVisitor

Hi,

I'll chip in on this.

2008/6/5 Martin Görg <nimoth@xxxxxxxxxxxxxxx>:
> Fernando Rubbo wrote:
>
>> I'm pretty new in this forum and I'm not sure if here is the
>> correct place to post my question.
>
> Except that not too many people seem to read this list, I think it is
> the optimal place for your question.

I believe we have many readers, they just don't all feel able to
comment on the topics that come up.  The AST functionality is one of
the least used functions - so there are very few who can comment on
it.

>> I'm working with AjASTVisitor but I could see bindings are not
>> being resolved. So, my question is:
>> There are people working on this?  For which release it is planning to be implemented?
>
> From what I read on the lists, I get the impression that it will
> still take quite a while until bindings will be resolved. It does not
> seem to be a major issue.

The only resolveBindings bug I see is:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=146528

and it has no votes on it.  Some of the input into prioritization of
bugs/enhancements is the number of votes they have.  Is that the bug
that would address this problem?

> I'm dealing with the same problem. Someone in my lab implemented a
> dirty hook that advises a method during the build process. At that
> time, the bindings are available but it means you have to work with
> the internal AST representation. For example, classes in the package
> org.aspectj.org.eclipse.jdt.internal.compiler.ast. And there is no
> documentation in there.

If you feel you have worked out how the AST support should look and
behave, please do think about contributing work back to the project in
this area.  Even if it is just testcases you have that would work
using the JDT AST support but fail with the AspectJ AST support, even
that is very useful for when we implement this functionality.

> I'm considering switching to the abc compiler for my next project.

Of course, depending on what you are doing, the abc compiler may
indeed be a better bet for your project.

Andy.


Back to the top