mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 08:18:55 +00:00
added missing generated code
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
This commit is contained in:
parent
19606f4e5c
commit
0eb0ea3ff3
1 changed files with 14 additions and 14 deletions
|
@ -141,11 +141,11 @@ public class RenameService2 implements IRenameService2 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (((element == null) || element.eIsProxy())) {
|
if (((element == null) || element.eIsProxy())) {
|
||||||
StringConcatenation _builder_1 = new StringConcatenation();
|
StringConcatenation _builder = new StringConcatenation();
|
||||||
_builder_1.append("No element found at ");
|
_builder.append("No element found at ");
|
||||||
String _positionFragment_1 = this.toPositionFragment(position_1, uri);
|
String _positionFragment = this.toPositionFragment(position_1, uri);
|
||||||
_builder_1.append(_positionFragment_1);
|
_builder.append(_positionFragment);
|
||||||
issueAcceptor.add(RefactoringIssueAcceptor.Severity.FATAL, _builder_1.toString());
|
issueAcceptor.add(RefactoringIssueAcceptor.Severity.FATAL, _builder.toString());
|
||||||
} else {
|
} else {
|
||||||
final IResourceServiceProvider services = this.serviceProviderRegistry.getResourceServiceProvider(element.eResource().getURI());
|
final IResourceServiceProvider services = this.serviceProviderRegistry.getResourceServiceProvider(element.eResource().getURI());
|
||||||
final IChangeSerializer changeSerializer = services.<IChangeSerializer>get(IChangeSerializer.class);
|
final IChangeSerializer changeSerializer = services.<IChangeSerializer>get(IChangeSerializer.class);
|
||||||
|
@ -312,17 +312,17 @@ public class RenameService2 implements IRenameService2 {
|
||||||
throw Exceptions.sneakyThrow(_t);
|
throw Exceptions.sneakyThrow(_t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
StringConcatenation _builder_2 = new StringConcatenation();
|
StringConcatenation _builder_1 = new StringConcatenation();
|
||||||
_builder_2.append("No element found at ");
|
_builder_1.append("No element found at ");
|
||||||
String _positionFragment_1 = this.toPositionFragment(caretPosition, uri);
|
String _positionFragment = this.toPositionFragment(caretPosition, uri);
|
||||||
_builder_2.append(_positionFragment_1);
|
_builder_1.append(_positionFragment);
|
||||||
RenameService2.LOG.trace(_builder_2);
|
RenameService2.LOG.trace(_builder_1);
|
||||||
} else {
|
} else {
|
||||||
StringConcatenation _builder_3 = new StringConcatenation();
|
StringConcatenation _builder_2 = new StringConcatenation();
|
||||||
_builder_3.append("Loaded resource is not an XtextResource. URI: ");
|
_builder_2.append("Loaded resource is not an XtextResource. URI: ");
|
||||||
URI _uRI = resource.getURI();
|
URI _uRI = resource.getURI();
|
||||||
_builder_3.append(_uRI);
|
_builder_2.append(_uRI);
|
||||||
RenameService2.LOG.trace(_builder_3);
|
RenameService2.LOG.trace(_builder_2);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue