![JAR search and dependency download from the Maven repository](/logo.png)
org.jetbrains.kotlin.ir.expressions.impl.IrInstanceInitializerCallImpl.kt Maven / Gradle / Ivy
/*
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.ir.expressions.impl
import org.jetbrains.kotlin.ir.declarations.IrAttributeContainer
import org.jetbrains.kotlin.ir.expressions.IrInstanceInitializerCall
import org.jetbrains.kotlin.ir.symbols.IrClassSymbol
import org.jetbrains.kotlin.ir.types.IrType
import org.jetbrains.kotlin.ir.util.IrElementConstructorIndicator
class IrInstanceInitializerCallImpl internal constructor(
@Suppress("UNUSED_PARAMETER")
constructorIndicator: IrElementConstructorIndicator?,
override val startOffset: Int,
override val endOffset: Int,
override var classSymbol: IrClassSymbol,
override var type: IrType,
) : IrInstanceInitializerCall() {
override var attributeOwnerId: IrAttributeContainer = this
override var originalBeforeInline: IrAttributeContainer? = null
}
fun IrInstanceInitializerCallImpl(
startOffset: Int,
endOffset: Int,
classSymbol: IrClassSymbol,
type: IrType,
) = IrInstanceInitializerCallImpl(
constructorIndicator = null,
startOffset = startOffset,
endOffset = endOffset,
classSymbol = classSymbol,
type = type,
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy