aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse/handlers
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2011-12-19 10:25:29 -0800
committerRoel Spilker <r.spilker@gmail.com>2011-12-19 10:25:29 -0800
commit232d5edc355043a8616f869da670ac2c4376032e (patch)
tree1f32d29c586442f74820a36631b88d3c4490cf05 /src/core/lombok/eclipse/handlers
parente7020a0da0968d494a6ffc075abebc00221f4d38 (diff)
parent6a13685d5c33c9c1308d963c462e5c9733ec6541 (diff)
downloadlombok-232d5edc355043a8616f869da670ac2c4376032e.tar.gz
lombok-232d5edc355043a8616f869da670ac2c4376032e.tar.bz2
lombok-232d5edc355043a8616f869da670ac2c4376032e.zip
Merge pull request #18 from jvanderhel/master
Fix for renaming class using Alt+Shift+R (Issue 286 variant)
Diffstat (limited to 'src/core/lombok/eclipse/handlers')
-rw-r--r--src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java b/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java
index 3c41f834..d4c63da3 100644
--- a/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java
+++ b/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java
@@ -478,7 +478,8 @@ public class HandleEqualsAndHashCode extends EclipseAnnotationHandler<EqualsAndH
setGeneratedBy(oRef, source);
TypeReference typeReference = createTypeReference(type, p);
-
+ setGeneratedBy(typeReference, source);
+
InstanceOfExpression instanceOf = new InstanceOfExpression(oRef, typeReference);
instanceOf.sourceStart = pS; instanceOf.sourceEnd = pE;
setGeneratedBy(instanceOf, source);
@@ -705,7 +706,6 @@ public class HandleEqualsAndHashCode extends EclipseAnnotationHandler<EqualsAndH
setGeneratedBy(otherRef, source);
TypeReference typeReference = createTypeReference(type, p);
-
setGeneratedBy(typeReference, source);
InstanceOfExpression instanceOf = new InstanceOfExpression(otherRef, typeReference);