diff options
author | mkersten <mkersten> | 2003-08-07 10:51:36 +0000 |
---|---|---|
committer | mkersten <mkersten> | 2003-08-07 10:51:36 +0000 |
commit | 684c9c1c3dd084b43645f537774bea0b4a9c1222 (patch) | |
tree | 403302230f48deabdbd9eb538c219ff6120f2dcf /testing/src | |
parent | 672bf9d46e415a259612aea3dee579b81fa28817 (diff) | |
download | aspectj-684c9c1c3dd084b43645f537774bea0b4a9c1222.tar.gz aspectj-684c9c1c3dd084b43645f537774bea0b4a9c1222.zip |
40534: Declare warning/error output - more detail required.
- Added getDetails() to messages. This String corresponding to thisJoinPointStatic part can be used by tools that need to display additional info.
Diffstat (limited to 'testing/src')
-rw-r--r-- | testing/src/org/aspectj/testing/xml/SoftMessage.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/testing/src/org/aspectj/testing/xml/SoftMessage.java b/testing/src/org/aspectj/testing/xml/SoftMessage.java index c5eb95489..e798f8f05 100644 --- a/testing/src/org/aspectj/testing/xml/SoftMessage.java +++ b/testing/src/org/aspectj/testing/xml/SoftMessage.java @@ -37,7 +37,7 @@ public class SoftMessage implements IMessage { // XXX mutable dup of Message private IMessage.Kind kind; private Throwable thrown; private ISourceLocation sourceLocation; - + private String details; //private ISourceLocation pseudoSourceLocation; // set directly // collapse enclosed source location for shorter, property-based xml @@ -279,4 +279,12 @@ public class SoftMessage implements IMessage { // XXX mutable dup of Message } return result.toString(); } + + public String getDetails() { + return details; + } + + public void setDetails(String string) { + details = string; + } } |