summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/src/org/aspectj/testing/xml/SoftMessage.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/src/org/aspectj/testing/xml/SoftMessage.java b/testing/src/org/aspectj/testing/xml/SoftMessage.java
index 3f26e1509..cec8baf71 100644
--- a/testing/src/org/aspectj/testing/xml/SoftMessage.java
+++ b/testing/src/org/aspectj/testing/xml/SoftMessage.java
@@ -40,6 +40,7 @@ public class SoftMessage implements IMessage {
private ISourceLocation sourceLocation;
private String details;
private int id;
+ private int sourceStart,sourceEnd;
private final ArrayList extraSourceLocations = new ArrayList();
//private ISourceLocation pseudoSourceLocation; // set directly
@@ -332,6 +333,22 @@ public class SoftMessage implements IMessage {
public void setID(int id) {
this.id = id;
}
+
+ public int getSourceStart() {
+ return sourceStart;
+ }
+
+ public void setSourceStart(int s) {
+ sourceStart = s;
+ }
+
+ public int getSourceEnd() {
+ return sourceStart;
+ }
+
+ public void setSourceEnd(int s) {
+ sourceEnd = s;
+ }
/* (non-Javadoc)
* @see org.aspectj.bridge.IMessage#getExtraSourceLocations()