Depcrecation of last method in xtend
The "last" method in xtend is deprecated and should be replaced by lastOrNull. The reason is that Java lists define the getLast method since Java-21. The "last" method in xtend will therefore be mapped to the new getLast method if available, but the latter has a different semantic and is not available in previous JDKs.