diff options
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java index 2785778e5..81491116d 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java @@ -451,10 +451,10 @@ public class EclipseSourceType extends AbstractReferenceTypeDelegate { // but we don't need this level of detail, and working with real per clauses // at this stage of compilation is not worth the trouble if (!isAnnotationStyleAspect()) { -// if(declaration instanceof AspectDeclaration) { -// PerClause pc = ((AspectDeclaration)declaration).perClause; -// if (pc != null) return pc; -// } + if(declaration instanceof AspectDeclaration) { + PerClause pc = ((AspectDeclaration)declaration).perClause; + if (pc != null) return pc; + } return new PerSingleton(); } else { // for @Aspect, we do need the real kind though we don't need the real perClause |