diff options
author | aclement <aclement> | 2005-04-26 16:15:01 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-04-26 16:15:01 +0000 |
commit | 664be8d0314b540ae64682420330cef0be0c99d1 (patch) | |
tree | 80c60f62091ae6f4ecdf88cd832f3e8a2860e3b3 /asm | |
parent | 02f75ba1e5b0eb9806d5642f891940be06691747 (diff) | |
download | aspectj-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.java | 12 |
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; |