summaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authoraclement <aclement>2011-12-10 00:52:48 +0000
committeraclement <aclement>2011-12-10 00:52:48 +0000
commit7b44e495af85f30704b1a5d6625762f4093164ef (patch)
tree8df6c78da892626dca9994ae29d3c59a31dc58bb /org.aspectj.ajdt.core
parented319e3d0272a724e0c08a03219c53755186d0ec (diff)
downloadaspectj-7b44e495af85f30704b1a5d6625762f4093164ef.tar.gz
aspectj-7b44e495af85f30704b1a5d6625762f4093164ef.zip
moved this check into here, was in JDT before
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java
index 6c6376cfa..47dc5ed8c 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java
@@ -206,6 +206,11 @@ public class AspectDeclaration extends TypeDeclaration {
* this hook to add in the @AspectJ annotations.
*/
public void addAtAspectJAnnotations() {
+ if (ignoreFurtherInvestigation) {
+ // perClause likely to be null. This flag used to be checked before we got called (at e33 level, in traverse(ASTVisitor visitor, CompilationUnitScope unitScope))
+ // For e37 moved the check down to this level
+ return;
+ }
Annotation atAspectAnnotation = AtAspectJAnnotationFactory.createAspectAnnotation(perClause.toDeclarationString(),
declarationSourceStart);
Annotation privilegedAnnotation = null;