ExperimentalPathApi

Platform and version requirements: JVM (1.4), JRE7 (1.4)
@Target([AnnotationTarget.CLASS, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.FIELD, AnnotationTarget.LOCAL_VARIABLE, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.TYPEALIAS]) annotation class ExperimentalPathApi

This annotation marks the extensions and top-level functions for working with java.nio.file.Path considered experimental.

Beware using the annotated API especially if you're developing a library, since your library might become binary incompatible with the future versions of the standard library.

Any usage of a declaration annotated with @ExperimentalPathApi must be accepted either by annotating that usage with the OptIn annotation, e.g. @OptIn(ExperimentalPathApi::class), or by using the compiler argument -Xopt-in=kotlin.io.path.ExperimentalPathApi.

Constructors

Platform and version requirements: JVM (1.0), JRE7 (1.0)

<init>

This annotation marks the extensions and top-level functions for working with java.nio.file.Path considered experimental.

ExperimentalPathApi()

© 2010–2021 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io.path/-experimental-path-api/index.html