summaryrefslogtreecommitdiffstats
path: root/asm
diff options
context:
space:
mode:
authormkersten <mkersten>2004-02-19 16:02:06 +0000
committermkersten <mkersten>2004-02-19 16:02:06 +0000
commit669cd7ce8634623c004cca5732c94a20fd7f57f7 (patch)
tree9053ca410a5e6e0352d89a08f6551cbb712b57f0 /asm
parent4e4a50e91244deafc41ed5fc3c25c3848e4d1551 (diff)
downloadaspectj-669cd7ce8634623c004cca5732c94a20fd7f57f7.tar.gz
aspectj-669cd7ce8634623c004cca5732c94a20fd7f57f7.zip
Fixed bug#45489 "Structure model is wrong when re-opened"
Diffstat (limited to 'asm')
-rw-r--r--asm/src/org/aspectj/asm/IProgramElement.java8
1 files changed, 5 insertions, 3 deletions
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++) {