Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Behavior of PointcutElement.getSource() is very strange
Behavior of PointcutElement.getSource() is very strange [message #590928] Thu, 17 November 2005 06:19
James Gan is currently offline James GanFriend
Messages: 27
Registered: July 2009
Junior Member
Hi, all

Occasionally, I found the behavior of PointcutElement.getSource() is
very strange. It doesn't return the full source of pointcut expression,
instead, it just returns head of the expression following many blank
space. For example, the resource is:

public pointcut pt3(): execution(public String main.Experiment*.toString())
||execution(public static void main.Hello*.main(String[]))
||execution(public int main.Hello*.testfieldset())
||execution(public void test.pack.Apple*.hello())
||execution(public void test.pack.Apple*.Apple(int))
||execution(public void test.pack.ITestInterface*.methodininterface())
||execution(public void test.pack.GoodApple*.hello());

But the getSource() function will return something as follows:

public pointcut pt3()

;

Is this a bug?

James Gan
Previous Topic:How to disable auto-compile AspectJ project in Eclipse 3.1
Next Topic:How to disable auto-compile AspectJ project in Eclipse 3.1
Goto Forum:
  


Current Time: Fri Mar 29 14:43:03 GMT 2024

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

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

Back to the top