aboutsummaryrefslogtreecommitdiffstats
path: root/asm
diff options
context:
space:
mode:
authoraclement <aclement>2005-04-26 16:15:01 +0000
committeraclement <aclement>2005-04-26 16:15:01 +0000
commit664be8d0314b540ae64682420330cef0be0c99d1 (patch)
tree80c60f62091ae6f4ecdf88cd832f3e8a2860e3b3 /asm
parent02f75ba1e5b0eb9806d5642f891940be06691747 (diff)
downloadaspectj-664be8d0314b540ae64682420330cef0be0c99d1.tar.gz
aspectj-664be8d0314b540ae64682420330cef0be0c99d1.zip
Put the ordering back to allow deserialization of an old set of relationships to work.
Diffstat (limited to 'asm')
-rw-r--r--asm/src/org/aspectj/asm/IRelationship.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/asm/src/org/aspectj/asm/IRelationship.java b/asm/src/org/aspectj/asm/IRelationship.java
index 41c25ba74..500ba5b4f 100644
--- a/asm/src/org/aspectj/asm/IRelationship.java
+++ b/asm/src/org/aspectj/asm/IRelationship.java
@@ -38,6 +38,8 @@ public interface IRelationship extends Serializable {
*/
public static class Kind implements Serializable {
+ public static final Kind DECLARE_WARNING = new Kind("declare warning");
+ public static final Kind DECLARE_ERROR = new Kind("declare error");
public static final Kind ADVICE_AROUND = new Kind("around advice");
public static final Kind ADVICE_AFTERRETURNING = new Kind("after returning advice");
public static final Kind ADVICE_AFTERTHROWING = new Kind("after throwing advice");
@@ -45,16 +47,14 @@ public interface IRelationship extends Serializable {
public static final Kind ADVICE_BEFORE = new Kind("before advice");
public static final Kind ADVICE = new Kind("advice");
public static final Kind DECLARE = new Kind("declare");
- public static final Kind DECLARE_WARNING = new Kind("declare warning");
- public static final Kind DECLARE_ERROR = new Kind("declare error");
- public static final Kind DECLARE_SOFT = new Kind("declare soft");
public static final Kind DECLARE_INTER_TYPE = new Kind("inter-type declaration");
- public static final Kind USES_POINTCUT = new Kind("uses pointcut");
+ public static final Kind USES_POINTCUT = new Kind("uses pointcut");
+ public static final Kind DECLARE_SOFT = new Kind("declare soft");
public static final Kind[] ALL = {
- DECLARE_WARNING, DECLARE_ERROR, DECLARE_SOFT,
+ DECLARE_WARNING, DECLARE_ERROR,
ADVICE_AROUND,ADVICE_AFTERRETURNING,ADVICE_AFTERTHROWING,ADVICE_AFTER,ADVICE_BEFORE,
- ADVICE, DECLARE, DECLARE_INTER_TYPE, USES_POINTCUT };
+ ADVICE, DECLARE, DECLARE_INTER_TYPE, USES_POINTCUT, DECLARE_SOFT };
private final String name;