Project: AspectJ
Bug 101606 AspectJ compiler does not process unused code compiler options properly for aspects
Reported: 2005-06-24 05:17:53 | Status: resolved fixed

In Eclipse (3.0) click 'Window' > 'Preferences' > 'Java' > 'Compiler'. Select the 'Unused Code' tab on the compiler preference page. Change 'Unused or unread private members' to Warning or Error. Create a project that contains an aspect with some private pointcuts. You will see warnings or errors for these pointcuts saying that they are unused.

Files changed in fix:
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java