https://kotlinlang.org logo
j

Jolan Rensen [JetBrains]

12/16/2020, 4:37 PM
Hi, say I wanted to transform a property (or function) using kotlin-meta. Can I also find and transform all the places in a project where said property is used? (Like refactoring would do)
Copy code
property(ctx, { ... }) { prop: KtProperty ->

    // now where is this property used?

    Transform.replace(
        replacing = prop,
        newDeclaration = ...
    )
}
r

Rachel

12/16/2020, 5:45 PM
2 Views