You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes AutoRefactorings have bugs that are difficult to fix or are not yet fixed.
Often those bugs come to surface only on very few compilation units.
But the concrete AutoRefactoring is still useful for the majority of other files.
I suggest AutoRefactor to look for a type annotation with simple name SuppressAutoRefactor
and if its value contains the name of the refactoring, that refactoring is suppressed for that type.
If the package name of the annotation is ignored the annotation can be created in some user custom package.
@SuppressAutoRefactor(value={"InlineCodeRatherThanPeremptoryConditionRefactoring"}, description="disabled because of AutoRefactor/issues/338")
Opinions?
The text was updated successfully, but these errors were encountered:
Hi!
Sometimes AutoRefactorings have bugs that are difficult to fix or are not yet fixed.
Often those bugs come to surface only on very few compilation units.
But the concrete AutoRefactoring is still useful for the majority of other files.
I suggest AutoRefactor to look for a type annotation with simple name
SuppressAutoRefactor
and if its
value
contains the name of the refactoring, that refactoring is suppressed for that type.If the package name of the annotation is ignored the annotation can be created in some user custom package.
Opinions?
The text was updated successfully, but these errors were encountered: