isAccessible

var KCallable<*>.isAccessible: Boolean (source)

Platform and version requirements: JVM

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

java.lang.reflect.AccessibleObject