[extract method] clarify error message (IDEA-224675)

GitOrigin-RevId: e8070a215b9581aaea2601fd987d0d0a307396c7
This commit is contained in:
Bas Leijdekkers
2025-06-02 16:18:15 +00:00
committed by intellij-monorepo-bot
parent 2496c9033a
commit 9dde446e22
3 changed files with 10 additions and 6 deletions
@@ -236,6 +236,7 @@ extract.method.error.wrap.many.outputs=There are several output variables in the
extract.method.error.wrap.many.outputs.class=a single object
extract.method.error.wrap.many.outputs.record=a new record
extract.method.error.many.exits=There are multiple exit points.
extract.method.error.exception=It would behave differently when an exception is thrown.
extract.method.error.many.finals=There is an assignment to the final field.
extract.method.error.variable.in.expression=There is a variable to return inside of the selected expression.
extract.method.error.class.not.found=Selected block should be a part of java class.