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:

It's an unfortunate effect of the current AJDT implementation - so as to
not confuse JDT, things like pointcuts pretend to be methods etc. To
obtain the real source you have to make a special call to the containing
compilation unit first. An example of this is in ajdt.ui in
PointcutSourceHover.java line 64. If you need more details, please ask on
the ajdt-dev mailing list.

It's an unfortunate effect of the current AJDT implementation - so as to
not confuse JDT, things like pointcuts pretend to be methods etc. To
obtain the real source you have to make a special call to the containing
compilation unit first. An example of this is in ajdt.ui in
PointcutSourceHover.java line 64. If you need more details, please ask on
the ajdt-dev mailing list.