Suppress false positives by adding the suppression annotation @SuppressWarnings("TryFailRefactoring") to the enclosing element.
@SuppressWarnings("TryFailRefactoring")