Hi, I want to change setter method to return this (for chaining like jQuery):
method.getReturnTypeElement().replace(<new return type>);
but this code causes "Assertion failed: RETURN_KEYWORD" error, because this double-change must be performed together (not one-by-one).
Is there something for this? Like transacation: 1) do-changes-without-check 2) commit changes with check???