| Summary: | missing relationship map entry for declare @method | ||
|---|---|---|---|
| Product: | [Tools] AspectJ | Reporter: | Andrew Clement <aclement> |
| Component: | Compiler | Assignee: | aspectj inbox <aspectj-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | DEVELOPMENT | ||
| Target Milestone: | 1.6.12 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
The problem here is that the typename is the same as the package name. Rather unusual! fixed. |
There is no entry in the relmap for this program: package TestRequirements; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @Retention(RetentionPolicy.RUNTIME) @interface AnnotatedMethod {} @Retention(RetentionPolicy.RUNTIME) @interface NewAnnotatedMethod { boolean newValue(); } aspect X { declare @method: !@AnnotatedMethod * TestRequirements.*(..) : @NewAnnotatedMethod(newValue = true); } class TestRequirements { @AnnotatedMethod public void dontMatchMe() {} public void matchMe() {} }