summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2009-10-31 16:46:11 +0000
committeraclement <aclement>2009-10-31 16:46:11 +0000
commitcef6f5a98a31b76d20f8981fd4eba07b47432513 (patch)
treedaaf39af8e2f84b5cf11e453055e69937fd26817 /weaver
parentb2909b023753daa470734e2536cf65cdb452a44a (diff)
downloadaspectj-cef6f5a98a31b76d20f8981fd4eba07b47432513.tar.gz
aspectj-cef6f5a98a31b76d20f8981fd4eba07b47432513.zip
formatted
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java b/weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
index 00580578c..2fa2905fe 100644
--- a/weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
+++ b/weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
@@ -624,6 +624,7 @@ public class WeavingAdaptor implements IMessageContext {
* IMessageHandler
*/
+ @Override
public boolean handleMessage(IMessage message) throws AbortException {
if (traceMessages) {
traceMessage(message);
@@ -649,16 +650,19 @@ public class WeavingAdaptor implements IMessageContext {
return true;
}
+ @Override
public boolean isIgnoring(Kind kind) {
return delegate.isIgnoring(kind);
}
+ @Override
public void dontIgnore(IMessage.Kind kind) {
if (null != kind && delegate != null) {
delegate.dontIgnore(kind);
}
}
+ @Override
public void ignore(Kind kind) {
if (null != kind && delegate != null) {
delegate.ignore(kind);
@@ -669,6 +673,7 @@ public class WeavingAdaptor implements IMessageContext {
* IMessageHolder
*/
+ @Override
public List getUnmodifiableListView() {
// System.err.println("? WeavingAdaptorMessageHolder.getUnmodifiableListView() savedMessages=" + savedMessages);
List allMessages = new ArrayList();
@@ -692,6 +697,7 @@ public class WeavingAdaptor implements IMessageContext {
this.failKind = IMessage.ERROR;
}
+ @Override
public boolean handleMessage(IMessage message) throws AbortException {
// boolean result =
super.handleMessage(message);
@@ -701,6 +707,7 @@ public class WeavingAdaptor implements IMessageContext {
return true;
}
+ @Override
public boolean isIgnoring(Kind kind) {
return ((null != kind) && (ignoring.contains(kind)));
}
@@ -708,6 +715,7 @@ public class WeavingAdaptor implements IMessageContext {
/**
* Set a message kind to be ignored from now on
*/
+ @Override
public void ignore(IMessage.Kind kind) {
if ((null != kind) && (!ignoring.contains(kind))) {
ignoring.add(kind);
@@ -717,12 +725,14 @@ public class WeavingAdaptor implements IMessageContext {
/**
* Remove a message kind from the list of those ignored from now on.
*/
+ @Override
public void dontIgnore(IMessage.Kind kind) {
if (null != kind) {
ignoring.remove(kind);
}
}
+ @Override
protected String render(IMessage message) {
return "[" + getContextId() + "] " + super.render(message);
}