Community
Participate
Working Groups
Created attachment 286215 [details] Error message displayed in AJDT aspect code editor See screenshot: If we have a pointcut designator like within(org.acme.aspect..*) then in Eclipse the aspect code editor underlines 'aspect' with red squiggles and displays an error hint (white "X" on red background) with the message: Syntax error on token "class", delete this token Obviously the parser in AJDT mistakes the reserved native AspectJ keyword 'aspect' for an aspect class designator, even though it appears within a pointcut designator where it is legal and also gets compiled without any problem. @Andy, I also see this after upgrading AJDT to the 4.19 (2021-03) Eclipse API, so it is probably an old cosmetic bug, but still annoying because of the cryptic error message.