aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format/codeBlock.kt
blob: e3fa27d295cb24d0b4312a8238fadda98e92e589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import kotlin.reflect.KClass

/**
 * This annotation indicates what exceptions should be declared by a function when compiled to a JVM method.
 *
 * Example:
 *
 * ```
 * Throws(IOException::class)
 * fun readFile(name: String): String {...}
 * ```
 */
class Throws