diff options
author | Roel Spilker <r.spilker@gmail.com> | 2011-12-19 10:25:29 -0800 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2011-12-19 10:25:29 -0800 |
commit | 232d5edc355043a8616f869da670ac2c4376032e (patch) | |
tree | 1f32d29c586442f74820a36631b88d3c4490cf05 | |
parent | e7020a0da0968d494a6ffc075abebc00221f4d38 (diff) | |
parent | 6a13685d5c33c9c1308d963c462e5c9733ec6541 (diff) | |
download | lombok-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)
-rw-r--r-- | src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java | 4 |
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); |