var KCallable<*>.isAccessible: Boolean
Provides a way to suppress JVM access checks for a callable.
Getter returns true
if JVM access checks are suppressed for this callable object. For a property, that means that all its accessors (getter, and setter for var
properties) are accessible.
Setter if set to true
, suppresses JVM access checks for this callable object. For a property, both accessors are made accessible.
See Also
© 2010–2020 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.reflect.jvm/is-accessible.html