aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authoraclement <aclement>2005-12-12 13:45:46 +0000
committeraclement <aclement>2005-12-12 13:45:46 +0000
commita9abf53e92cc92a49c0c3924ad076c4f37596c0d (patch)
tree91416e4be6537b3c9f4a3f6f9db4b33eda219d5c /org.aspectj.ajdt.core
parentc88fdf16ea84fc920c2f353a52d69e1ce6f73d25 (diff)
downloadaspectj-a9abf53e92cc92a49c0c3924ad076c4f37596c0d.tar.gz
aspectj-a9abf53e92cc92a49c0c3924ad076c4f37596c0d.zip
fixes for 119539
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java8
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