Community
Participate
Working Groups
Rename refactoring is using an org.eclipse.xtext.parsetree.reconstr.ITokenSerializer.ICrossReferenceSerializer to decide on the new text for a cross reference. It has to be clarified how it should work with the new serializer architecture.
Easy solution: Add an adapter inbetween with two implementations. Have a default binding that uses the old cross reference serializer. Add an explicit binding in the new serializer fragment.
Introduced a CrossReferenceSerializerFacade. The CRS is selected with tregard to the binding of the ISerializer interface, because there are default bindings for both CRSs and a client can use the new serializer without the SerializerFragment. The facade also contains a hook to resolve name collisions introduced by the refactoring.
Closing all bugs that were set to RESOLVED before Neon.0