[java-intention] IDEA-357879 "Replace catch sections with throw" intention doesn't check ancestors

GitOrigin-RevId: ab1f6d8c13b76850481b38c3fe0137f22fc11071
This commit is contained in:
Mikhail Pyltsin
2024-08-19 19:50:20 +02:00
committed by intellij-monorepo-bot
parent b08201f587
commit 6d84f1e4df
6 changed files with 117 additions and 45 deletions

View File

@@ -68,7 +68,10 @@ replace.on.demand.import.intention.name=Replace with single class imports
replace.on.demand.import.intention.family.name=Replace on demand import with single class imports
replace.operator.assignment.with.assignment.intention.family.name=Replace operator assignment with assignment
convert.catch.to.throws.intention.name=Replace 'catch' section with 'throws' declaration
convert.catch.to.throws.intention.name.capitalized=Replace 'catch' Section With 'throws' Declaration
convert.catch.to.throws.intention.family.name=Replace catch section with throws declaration
convert.catch.to.throws.only.current.method=Add throws declaration only to the current method
convert.catch.to.throws.super.and.current.methods=Add throws declaration to the current method and super methods
wrap.vararg.arguments.with.explicit.array.intention.name=Wrap vararg arguments with explicit array creation
wrap.vararg.arguments.with.explicit.array.intention.family.name=Wrap vararg arguments with explicit array creation
extract.while.loop.condition.to.if.statement.intention.name=Extract condition to internal 'if' statement