Project: AspectJ
Bug 115607 Incorrect structure model for simple declare @type program?
Reported: 2005-11-09 04:35:59 | Status: resolved fixed

This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoing from the declare statement and something incoming on the Simple type.

Files changed in fix:
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceLocation.java tests/bugs150/pr115607.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java