ajdt support ast.newPointCutDeclartion() now? [message #60000] |
Mon, 02 January 2006 05:25  |
Eclipse User |
|
|
|
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 #591571 is a reply to message #60000] |
Tue, 03 January 2006 06:35  |
Eclipse User |
|
|
|
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 13:40  |
Eclipse User |
|
|
|
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
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.05000 seconds