summaryrefslogtreecommitdiffstats
path: root/loadtime
diff options
context:
space:
mode:
authoraclement <aclement>2006-08-25 09:50:32 +0000
committeraclement <aclement>2006-08-25 09:50:32 +0000
commit409e613aacda8d3e5bee8eed3d2919340e0ff7cd (patch)
tree67a0b6a0cfd3e2f4e96c64f6fea7e38e38e88e91 /loadtime
parent04fa1dcce12934cc5cfe1e5e8b66523c10e93672 (diff)
downloadaspectj-409e613aacda8d3e5bee8eed3d2919340e0ff7cd.tar.gz
aspectj-409e613aacda8d3e5bee8eed3d2919340e0ff7cd.zip
141556#11 - reworked messagehandler with 'ignore' function! (wooo) - hope Matthew doesnt complain.
Diffstat (limited to 'loadtime')
-rw-r--r--loadtime/src/org/aspectj/weaver/loadtime/DefaultMessageHandler.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/DefaultMessageHandler.java b/loadtime/src/org/aspectj/weaver/loadtime/DefaultMessageHandler.java
index c9b4a6d9f..df06ee773 100644
--- a/loadtime/src/org/aspectj/weaver/loadtime/DefaultMessageHandler.java
+++ b/loadtime/src/org/aspectj/weaver/loadtime/DefaultMessageHandler.java
@@ -60,4 +60,14 @@ public class DefaultMessageHandler implements IMessageHandler {
}
}
+ public void ignore(IMessage.Kind kind) {
+ if (kind.equals(IMessage.WEAVEINFO)) {
+ showWeaveInfo = false;
+ } else if (kind.equals(IMessage.DEBUG)) {
+ isVerbose = false;
+ } else if (kind.equals(IMessage.WARNING)) {
+ showWarn = true;
+ }
+ }
+
}