All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jetbrains.kotlin.ir.declarations.IrField.kt Maven / Gradle / Ivy

/*
 * Copyright 2000-2018 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.declarations

import org.jetbrains.kotlin.descriptors.PropertyDescriptor
import org.jetbrains.kotlin.ir.expressions.IrExpressionBody
import org.jetbrains.kotlin.ir.symbols.IrFieldSymbol
import org.jetbrains.kotlin.ir.symbols.IrPropertySymbol
import org.jetbrains.kotlin.ir.types.IrType

interface IrField :
    IrSymbolDeclaration, IrOverridableDeclaration,
    IrDeclarationWithName, IrDeclarationWithVisibility, IrDeclarationParent {

    override val descriptor: PropertyDescriptor

    val type: IrType
    val isFinal: Boolean
    val isExternal: Boolean
    val isStatic: Boolean

    var initializer: IrExpressionBody?

    @Deprecated("Use correspondingPropertySymbol")
    var correspondingProperty: IrProperty?

    var correspondingPropertySymbol: IrPropertySymbol?

    override val metadata: MetadataSource.Property?
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy