aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/handlers
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2014-01-14 19:24:59 -0800
committerReinier Zwitserloot <reinier@zwitserloot.com>2014-01-14 19:24:59 -0800
commit69d82faa74364baf8a8ddef88e145a8a05d5dee0 (patch)
tree981396147da8d0e57c8bf2e01080abd43e2da6a9 /src/core/lombok/javac/handlers
parented82259e5276810ce7c8a8e2da5d1bc1dd35d7f8 (diff)
parent71a22340ae70f9512fab48244b8ecaf5c73bf32a (diff)
downloadlombok-69d82faa74364baf8a8ddef88e145a8a05d5dee0.tar.gz
lombok-69d82faa74364baf8a8ddef88e145a8a05d5dee0.tar.bz2
lombok-69d82faa74364baf8a8ddef88e145a8a05d5dee0.zip
Merge pull request #41 from serverperformance/master
#591, #627: Fix for refactoring when @Getter(lazy=true)
Diffstat (limited to 'src/core/lombok/javac/handlers')
-rw-r--r--src/core/lombok/javac/handlers/HandleGetter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lombok/javac/handlers/HandleGetter.java b/src/core/lombok/javac/handlers/HandleGetter.java
index ac0336ad..24121021 100644
--- a/src/core/lombok/javac/handlers/HandleGetter.java
+++ b/src/core/lombok/javac/handlers/HandleGetter.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2013 The Project Lombok Authors.
+ * Copyright (C) 2009-2014 The Project Lombok Authors.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -225,7 +225,7 @@ public class HandleGetter extends JavacAnnotationHandler<Getter> {
List<JCStatement> statements;
JCTree toClearOfMarkers = null;
- if (lazy) {
+ if (lazy && !inNetbeansEditor(field)) {
toClearOfMarkers = fieldNode.init;
statements = createLazyGetterBody(treeMaker, field, source);
} else {