Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » ajdt support ast.newPointCutDeclartion() now?
ajdt support ast.newPointCutDeclartion() now? [message #60000] Mon, 02 January 2006 10:25 Go to next message
Eclipse UserFriend
Originally posted by: zifu.yang.gmail.com

I saw looked at the ajdt test code of ast rewrite.
It demonstrated the type rename, pointcut rename...
But is there any way to create new ones?

Thanks.

Zifu
Re: ajdt support ast.newPointCutDeclartion() now? [message #60071 is a reply to message #60000] Tue, 03 January 2006 11:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hawkinsh.uk.ibm.com

I presume what you're looking for is something similar to
ast.newMethodDeclaration() which creates the MethodDeclaration and then
enables you to set the various properties of this MethodDeclaration. I've
had a look and I can't find a way of doing this with
PointcutDeclaration's. The PointcutDeclaration class exists, however, I
don't believe there is the mechanism in place yet which enables you to
create one.

The bug/enhancement which is open to look at continual work on the AST is

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

This bug was raised with the comment:

> If anyone has a particular use case that they need to get working, please
> mention it in this bug and we'll raise the priority of 'that piece' of the
AST.

Please add a comment on this bug as to the functionality you require and
we'll work on it there.

Thanks, Helen
Re: ajdt support ast.newPointCutDeclartion() now? [message #60117 is a reply to message #60071] Tue, 03 January 2006 18:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zifu.yang.gmail.com

Yes, that's what I want.
thank you.

"Helen Hawkins" <hawkinsh@uk.ibm.com> wrote in message
news:ad2a44bf033032fc04efdc2b681413ed$1@www.eclipse.org...
>I presume what you're looking for is something similar to
>ast.newMethodDeclaration() which creates the MethodDeclaration and then
>enables you to set the various properties of this MethodDeclaration. I've
>had a look and I can't find a way of doing this with PointcutDeclaration's.
>The PointcutDeclaration class exists, however, I don't believe there is the
>mechanism in place yet which enables you to create one.
> The bug/enhancement which is open to look at continual work on the AST is
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=110465
>
> This bug was raised with the comment:
>
>> If anyone has a particular use case that they need to get working, please
>> mention it in this bug and we'll raise the priority of 'that piece' of
>> the
> AST.
>
> Please add a comment on this bug as to the functionality you require and
> we'll work on it there.
>
> Thanks, Helen
>
Re: ajdt support ast.newPointCutDeclartion() now? [message #61487 is a reply to message #60117] Tue, 31 January 2006 14:48 Go to previous message
Eclipse UserFriend
Originally posted by: hawkinsh.uk.ibm.com

This feature is now available in the latest dev build of AspectJ and will
be in the next dev builds of AJDT 1.3 and 1.4.

Thanks, Helen
Re: ajdt support ast.newPointCutDeclartion() now? [message #591571 is a reply to message #60000] Tue, 03 January 2006 11:35 Go to previous message
Eclipse UserFriend
Originally posted by: hawkinsh.uk.ibm.com

I presume what you're looking for is something similar to
ast.newMethodDeclaration() which creates the MethodDeclaration and then
enables you to set the various properties of this MethodDeclaration. I've
had a look and I can't find a way of doing this with
PointcutDeclaration's. The PointcutDeclaration class exists, however, I
don't believe there is the mechanism in place yet which enables you to
create one.

The bug/enhancement which is open to look at continual work on the AST is

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

This bug was raised with the comment:

> If anyone has a particular use case that they need to get working, please
> mention it in this bug and we'll raise the priority of 'that piece' of the
AST.

Please add a comment on this bug as to the functionality you require and
we'll work on it there.

Thanks, Helen
Re: ajdt support ast.newPointCutDeclartion() now? [message #591588 is a reply to message #60071] Tue, 03 January 2006 18:40 Go to previous message
Eclipse UserFriend
Originally posted by: zifu.yang.gmail.com

Yes, that's what I want.
thank you.

"Helen Hawkins" <hawkinsh@uk.ibm.com> wrote in message
news:ad2a44bf033032fc04efdc2b681413ed$1@www.eclipse.org...
>I presume what you're looking for is something similar to
>ast.newMethodDeclaration() which creates the MethodDeclaration and then
>enables you to set the various properties of this MethodDeclaration. I've
>had a look and I can't find a way of doing this with PointcutDeclaration's.
>The PointcutDeclaration class exists, however, I don't believe there is the
>mechanism in place yet which enables you to create one.
> The bug/enhancement which is open to look at continual work on the AST is
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=110465
>
> This bug was raised with the comment:
>
>> If anyone has a particular use case that they need to get working, please
>> mention it in this bug and we'll raise the priority of 'that piece' of
>> the
> AST.
>
> Please add a comment on this bug as to the functionality you require and
> we'll work on it there.
>
> Thanks, Helen
>
Re: ajdt support ast.newPointCutDeclartion() now? [message #592030 is a reply to message #60117] Tue, 31 January 2006 14:48 Go to previous message
Eclipse UserFriend
Originally posted by: hawkinsh.uk.ibm.com

This feature is now available in the latest dev build of AspectJ and will
be in the next dev builds of AJDT 1.3 and 1.4.

Thanks, Helen
Previous Topic:pointcut all method calls on an object that implements an interface
Next Topic:add the aspectj nature in my plugin
Goto Forum:
  


Current Time: Tue Dec 23 03:51:35 GMT 2014

Powered by FUDForum. Page generated in 0.01741 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software