aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse/handlers
diff options
context:
space:
mode:
authorjvanderhel <Jappe.vanderhel@gmail.com>2011-11-29 21:20:14 +0100
committerjvanderhel <Jappe.vanderhel@gmail.com>2011-11-29 21:20:14 +0100
commit6a13685d5c33c9c1308d963c462e5c9733ec6541 (patch)
treead6b7db3ea04c5a493bee3bc118a7b26d0a6cb08 /src/core/lombok/eclipse/handlers
parentc502ec24bba580181631146fa5cdee16ffe9ceaf (diff)
downloadlombok-6a13685d5c33c9c1308d963c462e5c9733ec6541.tar.gz
lombok-6a13685d5c33c9c1308d963c462e5c9733ec6541.tar.bz2
lombok-6a13685d5c33c9c1308d963c462e5c9733ec6541.zip
Added missing setGeneratedBy on TypeReference (prevented a rename of class with @Data/@EqualsAndHashCode on it using Alt+Shift+R)
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);