summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2005-09-26 13:59:32 +0000
committeraclement <aclement>2005-09-26 13:59:32 +0000
commit1c72a494aadef237659a03fe1a958156792ac9a1 (patch)
tree0d00360749e7d30bd0518fb307c79c80080daf6a
parent870577699de0f11a2ac0a6c65729b36207b50357 (diff)
downloadaspectj-1c72a494aadef237659a03fe1a958156792ac9a1.tar.gz
aspectj-1c72a494aadef237659a03fe1a958156792ac9a1.zip
avoid 'illegal forward reference' problem when compiling with 1.3
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/AroundAdviceDeclaration.java5
1 files 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) {