mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:10:43 +07:00
[uast] More idiomatic cast
GitOrigin-RevId: b3eda2d85fce455ccb19cf099fb5e99ceabc304b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4b2d51118e
commit
4991aae079
@@ -40,4 +40,4 @@ interface UMultiResolvable {
|
||||
|
||||
fun UResolvable.resolveToUElement(): UElement? = resolve().toUElement()
|
||||
|
||||
inline fun <reified T : UElement> UResolvable.resolveToUElementOfType(): T? = resolve().toUElement() as? T?
|
||||
inline fun <reified T : UElement> UResolvable.resolveToUElementOfType(): T? = resolveToUElement() as? T
|
||||
Reference in New Issue
Block a user