mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] KTIJ-38334 Mark findContextToAnalyze as deprecated and scheduled for removal
(cherry picked from commit c92807a5258eee6517f505ff21a380e4618fbfaa) IJ-CR-212042 GitOrigin-RevId: d49276b1f93784af5a2f62df28dda4f544d66c2a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
66059400c4
commit
fb9886e7e8
+5
@@ -17,6 +17,11 @@ import org.jetbrains.kotlin.psi.psiUtil.parentsWithSelf
|
||||
* Finds the nearest enclosing declaration that can be used as a context for a code fragment built from [this] expression.
|
||||
*/
|
||||
@ApiStatus.Internal
|
||||
@Deprecated(
|
||||
message = "Temporary workaround. Do not use.",
|
||||
level = DeprecationLevel.WARNING,
|
||||
)
|
||||
@ApiStatus.ScheduledForRemoval
|
||||
fun KtExpression.findContextToAnalyze(): KtExpression? {
|
||||
for (element in parentsWithSelf) {
|
||||
when (element) {
|
||||
|
||||
Reference in New Issue
Block a user