Add possibility to add annotations when building FunctionDescriptor copy
It's being used in next commits to add Deprecated annotation to unknown additional built-ins members
This commit is contained in:
+2
@@ -57,6 +57,7 @@ class DeserializedSimpleFunctionDescriptor(
|
||||
original: FunctionDescriptor?,
|
||||
kind: CallableMemberDescriptor.Kind,
|
||||
newName: Name?,
|
||||
annotations: Annotations,
|
||||
preserveSource: Boolean
|
||||
): FunctionDescriptorImpl {
|
||||
return DeserializedSimpleFunctionDescriptor(
|
||||
@@ -117,6 +118,7 @@ class DeserializedConstructorDescriptor(
|
||||
original: FunctionDescriptor?,
|
||||
kind: CallableMemberDescriptor.Kind,
|
||||
newName: Name?,
|
||||
annotations: Annotations,
|
||||
preserveSource: Boolean
|
||||
): DeserializedConstructorDescriptor {
|
||||
return DeserializedConstructorDescriptor(
|
||||
|
||||
Reference in New Issue
Block a user