aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorMichail Plushnikov <plushnikov@web.de>2011-09-20 20:11:20 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2011-09-20 20:11:20 +0200
commite72b2b2d797361bd804cddfb0b80dc5684586436 (patch)
tree6655ee865a8ab6526e112aa6827e1557c553dc2c /src/core
parentaa87f4926edb86f63948647cef2a8cbb15174f1a (diff)
downloadlombok-e72b2b2d797361bd804cddfb0b80dc5684586436.tar.gz
lombok-e72b2b2d797361bd804cddfb0b80dc5684586436.tar.bz2
lombok-e72b2b2d797361bd804cddfb0b80dc5684586436.zip
toString() of various delegates to interop with javac (FileObjectWrapper and InterceptingJavaFileObject) now also delegated. Relevant for IntelliJ support.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/lombok/javac/apt/InterceptingJavaFileObject.java5
-rw-r--r--src/core/lombok/javac/apt/Javac6BaseFileObjectWrapper.java4
-rw-r--r--src/core/lombok/javac/apt/Javac7BaseFileObjectWrapper.java4
3 files changed, 13 insertions, 0 deletions
diff --git a/src/core/lombok/javac/apt/InterceptingJavaFileObject.java b/src/core/lombok/javac/apt/InterceptingJavaFileObject.java
index 9b4b7496..4dbcf3b4 100644
--- a/src/core/lombok/javac/apt/InterceptingJavaFileObject.java
+++ b/src/core/lombok/javac/apt/InterceptingJavaFileObject.java
@@ -148,4 +148,9 @@ final class InterceptingJavaFileObject implements LombokFileObject {
public URI toUri() {
return delegate.toUri();
}
+
+ @Override
+ public String toString() {
+ return delegate.toString();
+ }
}
diff --git a/src/core/lombok/javac/apt/Javac6BaseFileObjectWrapper.java b/src/core/lombok/javac/apt/Javac6BaseFileObjectWrapper.java
index 9d9a2fb5..3f5d5c90 100644
--- a/src/core/lombok/javac/apt/Javac6BaseFileObjectWrapper.java
+++ b/src/core/lombok/javac/apt/Javac6BaseFileObjectWrapper.java
@@ -108,4 +108,8 @@ class Javac6BaseFileObjectWrapper extends com.sun.tools.javac.util.BaseFileObjec
@Override public int hashCode() {
return delegate.hashCode();
}
+
+ @Override public String toString() {
+ return delegate.toString();
+ }
} \ No newline at end of file
diff --git a/src/core/lombok/javac/apt/Javac7BaseFileObjectWrapper.java b/src/core/lombok/javac/apt/Javac7BaseFileObjectWrapper.java
index 354e2e01..aa51fa90 100644
--- a/src/core/lombok/javac/apt/Javac7BaseFileObjectWrapper.java
+++ b/src/core/lombok/javac/apt/Javac7BaseFileObjectWrapper.java
@@ -108,4 +108,8 @@ class Javac7BaseFileObjectWrapper extends com.sun.tools.javac.file.BaseFileObjec
@Override public int hashCode() {
return delegate.hashCode();
}
+
+ @Override public String toString() {
+ return delegate.toString();
+ }
} \ No newline at end of file