Top Deprecated
Eclipse Xtext 2.39.0

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description

Returns:

a<<distance
org.eclipse.xtext.xbase.lib.IntegerExtensions.shiftLeft
(int
an integer.
a
,
int
the number of times to shift.
distance
)

use operator_doubleLessThan(int, int) instead

Returns:

a>>distance
org.eclipse.xtext.xbase.lib.IntegerExtensions.shiftRight
(int
an integer.
a
,
int
the number of times to shift.
distance
)

use operator_doubleGreaterThan(int, int) instead

Returns:

a>>>distance
org.eclipse.xtext.xbase.lib.IntegerExtensions.shiftRightUnsigned
(int
an integer.
a
,
int
the number of times to shift.
distance
)

use operator_tripleGreaterThan(int, int) instead

Returns:

the last element in the iterable or null.
org.eclipse.xtext.xbase.lib.IterableExtensions.last
(Iterable<T>
the iterable. May not be null.
iterable
)

Use lastOrNull(Iterable<T>) instead: in Java 21, the method getLast has been introduced to some collection classes and would be preferred to this one by the Xbase/Xtend compiler, breaking the semantics of the original code: The Java 21 getLast method throws a NoSuchElementException when the collection is empty, instead of returning null.

Returns:

a sorted list as a shallow copy of the given iterable.
org.eclipse.xtext.xbase.lib.IterableExtensions.sort
(Iterable<T>
the items to be sorted. May not be null.
iterable
,
Comparator<? super T>
the comparator to be used. May be null to indicate that the natural ordering of the elements should be used.
comparator
)

Use sortWith(Iterable, Comparator) instead.

Returns:

the last element in the iterator or null.
org.eclipse.xtext.xbase.lib.IteratorExtensions.last
(Iterator<T>
the iterator. May not be null.
iterator
)

Use lastOrNull(Iterator<T>) instead. To be aligned with IterableExtensions#lastOrNull(Iterable) (see the deprecation reason of IterableExtensions#last(Iterable)).

Returns:

a<<distance
org.eclipse.xtext.xbase.lib.LongExtensions.shiftLeft
(long
a long.
a
,
int
the number of times to shift.
distance
)

use operator_doubleLessThan(long, int) instead.

Returns:

a>>distance
org.eclipse.xtext.xbase.lib.LongExtensions.shiftRight
(long
a long.
a
,
int
the number of times to shift.
distance
)

use operator_doubleGreaterThan(long, int) instead.

Returns:

a>>>distance
org.eclipse.xtext.xbase.lib.LongExtensions.shiftRightUnsigned
(long
a long.
a
,
int
the number of times to shift.
distance
)

use operator_tripleGreaterThan(long, int) instead.

Returns:

the string representation. Never null.
org.eclipse.xtext.xbase.lib.util.ToStringHelper.toString
(Object
the object that should be printed.
obj
)

use new ToStringBuilder().addAllFields().toString()

No API in this release references deprecated elements.