[IR] Restore compatibility for IrFactory#createPropertyWithLateBinding
This is a follow-up to b4335c86c8.
This commit is contained in:
committed by
Space Team
parent
1c472c2751
commit
c2a8d46867
@@ -611,6 +611,55 @@ interface IrFactory {
|
|||||||
isFakeOverride,
|
isFakeOverride,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@Deprecated(
|
||||||
|
message = "The method's parameters were reordered." +
|
||||||
|
" This variant of the method will be removed when the 2024.2 IntelliJ platform is shipped (see KTIJ-26314).",
|
||||||
|
replaceWith = ReplaceWith(
|
||||||
|
"""createPropertyWithLateBinding(
|
||||||
|
startOffset = startOffset,
|
||||||
|
endOffset = endOffset,
|
||||||
|
origin = origin,
|
||||||
|
name = name,
|
||||||
|
visibility = visibility,
|
||||||
|
modality = modality,
|
||||||
|
isVar = isVar,
|
||||||
|
isConst = isConst,
|
||||||
|
isLateinit = isLateinit,
|
||||||
|
isDelegated = isDelegated,
|
||||||
|
isExternal = isExternal,
|
||||||
|
isExpect = isExpect,
|
||||||
|
)""",
|
||||||
|
),
|
||||||
|
level = DeprecationLevel.HIDDEN,
|
||||||
|
)
|
||||||
|
fun createPropertyWithLateBinding(
|
||||||
|
startOffset: Int,
|
||||||
|
endOffset: Int,
|
||||||
|
origin: IrDeclarationOrigin,
|
||||||
|
name: Name,
|
||||||
|
visibility: DescriptorVisibility,
|
||||||
|
modality: Modality,
|
||||||
|
isVar: Boolean,
|
||||||
|
isConst: Boolean,
|
||||||
|
isLateinit: Boolean,
|
||||||
|
isDelegated: Boolean,
|
||||||
|
isExternal: Boolean,
|
||||||
|
isExpect: Boolean,
|
||||||
|
): IrProperty = createPropertyWithLateBinding(
|
||||||
|
startOffset,
|
||||||
|
endOffset,
|
||||||
|
origin,
|
||||||
|
name,
|
||||||
|
visibility,
|
||||||
|
modality,
|
||||||
|
isVar,
|
||||||
|
isConst,
|
||||||
|
isLateinit,
|
||||||
|
isDelegated,
|
||||||
|
isExternal,
|
||||||
|
isExpect,
|
||||||
|
)
|
||||||
|
|
||||||
@Deprecated(
|
@Deprecated(
|
||||||
message = "The method has been renamed, and its parameters were reordered." +
|
message = "The method has been renamed, and its parameters were reordered." +
|
||||||
" This variant of the method will be removed when the 2024.2 IntelliJ platform is shipped (see KTIJ-26314).",
|
" This variant of the method will be removed when the 2024.2 IntelliJ platform is shipped (see KTIJ-26314).",
|
||||||
|
|||||||
Reference in New Issue
Block a user