Replace deprecated annotations in whole project

This commit is contained in:
Denis Zharkov
2015-06-09 15:36:42 +03:00
parent c9f79c2d05
commit 200dee2761
55 changed files with 81 additions and 81 deletions
@@ -84,7 +84,7 @@ class PlatformStaticGenerator(
}
companion object {
[platformStatic]
@platformStatic
public fun createStaticFunctionDescriptor(descriptor: FunctionDescriptor): FunctionDescriptor {
val memberDescriptor = if (descriptor is PropertyAccessorDescriptor) descriptor.getCorrespondingProperty() else descriptor
val copies = CodegenUtil.copyFunctions(
@@ -21,7 +21,7 @@ import kotlin.platform.platformStatic
object SMAPParser {
[platformStatic]
@platformStatic
/*null smap means that there is no any debug info in file (e.g. sourceName)*/
public fun parseOrCreateDefault(mappingInfo: String?, source: String?, path: String, methodStartLine: Int, methodEndLine: Int): SMAP {
if (mappingInfo == null || mappingInfo.isEmpty()) {
@@ -41,7 +41,7 @@ object SMAPParser {
return parse(mappingInfo)
}
[platformStatic]
@platformStatic
public fun parse(mappingInfo: String): SMAP {
val fileMappings = linkedMapOf<Int, FileMapping>()
@@ -88,7 +88,7 @@ class TryBlockCluster<T : IntervalWithHandler>(val blocks: MutableList<T>) {
fun <T : IntervalWithHandler> doClustering(blocks: List<T>): List<TryBlockCluster<T>> {
[data] class TryBlockInterval(val startLabel: LabelNode, val endLabel: LabelNode)
@data class TryBlockInterval(val startLabel: LabelNode, val endLabel: LabelNode)
val clusters = linkedMapOf<TryBlockInterval, TryBlockCluster<T>>()
blocks.forEach { block ->