mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 10:18:46 +00:00
Merge pull request #18 from jvanderhel/master
Fix for renaming class using Alt+Shift+R (Issue 286 variant)
This commit is contained in:
commit
232d5edc35
1 file changed
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user