From 1c72a494aadef237659a03fe1a958156792ac9a1 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 26 Sep 2005 13:59:32 +0000 Subject: avoid 'illegal forward reference' problem when compiling with 1.3 --- .../aspectj/org/eclipse/jdt/core/dom/AroundAdviceDeclaration.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AroundAdviceDeclaration.java b/org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AroundAdviceDeclaration.java index a18cb820b..7e367103b 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AroundAdviceDeclaration.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AroundAdviceDeclaration.java @@ -55,6 +55,9 @@ public class AroundAdviceDeclaration extends AdviceDeclaration { public static final ChildPropertyDescriptor aroundBODY_PROPERTY = new ChildPropertyDescriptor(AroundAdviceDeclaration.class, "body", Block.class, OPTIONAL, CYCLE_RISK); //$NON-NLS-1$ + + protected static List aroundPROPERTY_DESCRIPTORS_2_0; + protected static List aroundPROPERTY_DESCRIPTORS_3_0; static { List propertyList = new ArrayList(6); @@ -79,8 +82,6 @@ public class AroundAdviceDeclaration extends AdviceDeclaration { aroundPROPERTY_DESCRIPTORS_3_0 = reapPropertyList(propertyList); } - protected static List aroundPROPERTY_DESCRIPTORS_2_0; - protected static List aroundPROPERTY_DESCRIPTORS_3_0; public static List propertyDescriptors(int apiLevel) { if (apiLevel == AST.JLS2_INTERNAL) { -- cgit v1.2.3