Преглед на файлове

moved this check into here, was in JDT before

tags/V1_7_0RC1
aclement преди 12 години
родител
ревизия
7b44e495af
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. 5
    0
      org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java

+ 5
- 0
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;

Loading…
Отказ
Запис