aboutsummaryrefslogtreecommitdiffstats
path: root/testing/src/org
diff options
context:
space:
mode:
authoraclement <aclement>2004-12-10 15:40:59 +0000
committeraclement <aclement>2004-12-10 15:40:59 +0000
commit1575a175b511eadbae03fc760b0cd20edde6ae4e (patch)
treea135e948e9e293df3849b9ab45582125a3dd1590 /testing/src/org
parent379eb69126a1d904c2f4a6a63a97c138a7712791 (diff)
downloadaspectj-1575a175b511eadbae03fc760b0cd20edde6ae4e.tar.gz
aspectj-1575a175b511eadbae03fc760b0cd20edde6ae4e.zip
Support for 'offset' in source locations - enabling AJDT improvements. Not perfect - really the whole ISourceLocation thing needs sorting out ...
Diffstat (limited to 'testing/src/org')
-rw-r--r--testing/src/org/aspectj/testing/xml/SoftSourceLocation.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/src/org/aspectj/testing/xml/SoftSourceLocation.java b/testing/src/org/aspectj/testing/xml/SoftSourceLocation.java
index 022342aa2..0d5f36744 100644
--- a/testing/src/org/aspectj/testing/xml/SoftSourceLocation.java
+++ b/testing/src/org/aspectj/testing/xml/SoftSourceLocation.java
@@ -115,6 +115,10 @@ public class SoftSourceLocation implements ISourceLocation {
public String getLocationContext() {
return null;
}
+
+ public int getOffset() {
+ return -1;
+ }
/** @return String : {context\n}file:line:column */
public String toString() {