aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse/handlers/HandleGetter.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2012-06-18 23:37:34 +0200
committerRoel Spilker <r.spilker@gmail.com>2012-06-18 23:38:02 +0200
commit37cbe2d3f9cd8737b46b6bfb263277f7b7cd7861 (patch)
treec8f5f66c3b420bbc1beecb85fd5a67905c5a54d3 /src/core/lombok/eclipse/handlers/HandleGetter.java
parent78bf0f6fbbba39e1c56d5dda3df7b0c3eaec74ad (diff)
downloadlombok-37cbe2d3f9cd8737b46b6bfb263277f7b7cd7861.tar.gz
lombok-37cbe2d3f9cd8737b46b6bfb263277f7b7cd7861.tar.bz2
lombok-37cbe2d3f9cd8737b46b6bfb263277f7b7cd7861.zip
Fix for issue 376 for Eclipse
Diffstat (limited to 'src/core/lombok/eclipse/handlers/HandleGetter.java')
-rw-r--r--src/core/lombok/eclipse/handlers/HandleGetter.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleGetter.java b/src/core/lombok/eclipse/handlers/HandleGetter.java
index d53bf89b..31376749 100644
--- a/src/core/lombok/eclipse/handlers/HandleGetter.java
+++ b/src/core/lombok/eclipse/handlers/HandleGetter.java
@@ -268,6 +268,9 @@ public class HandleGetter extends EclipseAnnotationHandler<Getter> {
method.bodyStart = method.declarationSourceStart = method.sourceStart = source.sourceStart;
method.bodyEnd = method.declarationSourceEnd = method.sourceEnd = source.sourceEnd;
method.statements = statements;
+
+ EclipseHandlerUtil.registerCreatedLazyGetter((FieldDeclaration) fieldNode.get(), method.selector, returnType);
+
return method;
}