[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ews.eclipse.technology.aspectj] A question about reflection and weaver tools APIs

Hi, all

I'm testing the reflection and weaver tools APIs. When I using following code:

PointcutParser parse = new PointcutParser();
String expr = "call(public * main.hello(..)";
PointcutExpression pex = parse.parsePointcutExpression(expr);

Whenever I use a full qualified class name in pointcut expression, an exception is throwed out:
java.lang.IllegalArgumentException: warning no match for this type name: obj [Xlint:invalidAbsoluteTypeName]


I try to turn off this Lint exception. But it seems I must access to world field of PointcutParser. This is inconvenient because world field is not exposed by PointcutParser. Could you please tell me how can I turn off this boring exception?

Thanks a lot!
James Gan