From 669cd7ce8634623c004cca5732c94a20fd7f57f7 Mon Sep 17 00:00:00 2001 From: mkersten Date: Thu, 19 Feb 2004 16:02:06 +0000 Subject: Fixed bug#45489 "Structure model is wrong when re-opened" --- asm/src/org/aspectj/asm/IProgramElement.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'asm') diff --git a/asm/src/org/aspectj/asm/IProgramElement.java b/asm/src/org/aspectj/asm/IProgramElement.java index 944675e2b..f45493e4e 100644 --- a/asm/src/org/aspectj/asm/IProgramElement.java +++ b/asm/src/org/aspectj/asm/IProgramElement.java @@ -120,7 +120,7 @@ public interface IProgramElement extends Serializable { public static final Modifiers STRICTFP = new Modifiers("strictfp"); public static final Modifiers TRANSIENT = new Modifiers("transient"); public static final Modifiers NATIVE = new Modifiers("native"); - public static final Modifiers[] ALL = { STATIC, FINAL, ABSTRACT, SYNCHRONIZED, TRANSIENT, VOLATILE, STRICTFP, NATIVE }; + public static final Modifiers[] ALL = { STATIC, FINAL, ABSTRACT, SYNCHRONIZED, VOLATILE, STRICTFP, TRANSIENT, NATIVE }; private final String name; private Modifiers(String name) { @@ -211,9 +211,9 @@ public interface IProgramElement extends Serializable { FILE_JAVA, FILE_ASPECTJ, FILE_LST, + IMPORT_REFERENCE, CLASS, INTERFACE, - IMPORT_REFERENCE, ASPECT, INITIALIZER, INTER_TYPE_FIELD, @@ -231,7 +231,9 @@ public interface IProgramElement extends Serializable { DECLARE_SOFT, DECLARE_PRECEDENCE, CODE, - ERROR }; + ERROR + + }; public static Kind getKindForString(String kindString) { for (int i = 0; i < ALL.length; i++) { -- cgit v1.2.3