summaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher
diff options
context:
space:
mode:
authoraclement <aclement>2010-03-03 23:30:47 +0000
committeraclement <aclement>2010-03-03 23:30:47 +0000
commit0d45d8adeed2da4137a80e3022e2ee143f655cd0 (patch)
tree506e5fbf859d61bab7cf2eeb6b16a6f3f9b66a6d /org.aspectj.matcher
parentd5a3aeb786e6e62886639782b85c6ccffd2913d6 (diff)
downloadaspectj-0d45d8adeed2da4137a80e3022e2ee143f655cd0.tar.gz
aspectj-0d45d8adeed2da4137a80e3022e2ee143f655cd0.zip
declare type eow
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r--org.aspectj.matcher/src/org/aspectj/weaver/patterns/Declare.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/Declare.java b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/Declare.java
index 755e88919..a53f2ad1b 100644
--- a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/Declare.java
+++ b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/Declare.java
@@ -27,6 +27,7 @@ public abstract class Declare extends PatternNode {
public static final byte DOMINATES = 4;
public static final byte ANNOTATION = 5;
public static final byte PARENTSMIXIN = 6;
+ public static final byte TYPE_ERROR_OR_WARNING = 7;
// set when reading declare from aspect
private ResolvedType declaringType;
@@ -46,6 +47,8 @@ public abstract class Declare extends PatternNode {
return DeclareAnnotation.read(s, context);
case PARENTSMIXIN:
return DeclareParentsMixin.read(s, context);
+ case TYPE_ERROR_OR_WARNING:
+ return DeclareTypeErrorOrWarning.read(s, context);
default:
throw new RuntimeException("unimplemented");
}