ValueRemapper

fun interface ValueRemapper : ReferenceRemapper

Remap value symbols. If given a IrVariableSymbol, must return a IrVariableSymbol. Returning null will deep copy the symbol.

Functions

getReferencedClass
Link copied to clipboard
open fun getReferencedClass(symbol: IrClassSymbol): IrClassSymbol?
getReferencedClassifier
Link copied to clipboard
open fun getReferencedClassifier(symbol: IrClassifierSymbol): IrClassifierSymbol?
getReferencedClassOrNull
Link copied to clipboard
open fun getReferencedClassOrNull(symbol: IrClassSymbol?): IrClassSymbol?
getReferencedConstructor
Link copied to clipboard
open fun getReferencedConstructor(symbol: IrConstructorSymbol): IrConstructorSymbol?
getReferencedEnumEntry
Link copied to clipboard
open fun getReferencedEnumEntry(symbol: IrEnumEntrySymbol): IrEnumEntrySymbol?
getReferencedField
Link copied to clipboard
open fun getReferencedField(symbol: IrFieldSymbol): IrFieldSymbol?
getReferencedFunction
Link copied to clipboard
open fun getReferencedFunction(symbol: IrFunctionSymbol): IrFunctionSymbol?
getReferencedLocalDelegatedProperty
Link copied to clipboard
open fun getReferencedLocalDelegatedProperty(symbol: IrLocalDelegatedPropertySymbol): IrLocalDelegatedPropertySymbol?
getReferencedProperty
Link copied to clipboard
open fun getReferencedProperty(symbol: IrPropertySymbol): IrPropertySymbol?
getReferencedReturnableBlock
Link copied to clipboard
open fun getReferencedReturnableBlock(symbol: IrReturnableBlockSymbol): IrReturnableBlockSymbol?
getReferencedScript
Link copied to clipboard
open fun getReferencedScript(symbol: IrScriptSymbol): IrScriptSymbol?
getReferencedSimpleFunction
Link copied to clipboard
open fun getReferencedSimpleFunction(symbol: IrSimpleFunctionSymbol): IrSimpleFunctionSymbol?
getReferencedTypeAlias
Link copied to clipboard
open fun getReferencedTypeAlias(symbol: IrTypeAliasSymbol): IrTypeAliasSymbol?
getReferencedValue
Link copied to clipboard
open fun getReferencedValue(symbol: IrValueSymbol): IrValueSymbol?
getReferencedVariable
Link copied to clipboard
open fun getReferencedVariable(symbol: IrVariableSymbol): IrVariableSymbol?
remapValue
Link copied to clipboard
abstract fun remapValue(symbol: IrValueSymbol): IrValueSymbol?

Sources

jvm source
Link copied to clipboard