mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-16 08:15:19 +00:00
Added missing setGeneratedBy on TypeReference (prevented a rename of class with @Data/@EqualsAndHashCode on it using Alt+Shift+R)
This commit is contained in:
1 parent
c502ec24bb
commit
6a13685d5c
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