Java.Lang.Reflect.AccessibleObject Class
AccessibleObject is the superclass of all member reflection classes (Field, Constructor, Method).

See Also: AccessibleObject Members

Syntax

[Android.Runtime.Register("java/lang/reflect/AccessibleObject", DoNotGenerateAcw=true)]
public class AccessibleObject : Java.Lang.Object, IAnnotatedElement, IDisposable

Remarks

AccessibleObject is the superclass of all member reflection classes (Field, Constructor, Method). AccessibleObject provides the ability to toggle a flag controlling access checks for these objects. By default, accessing a member (for example, setting a field or invoking a method) checks the validity of the access (for example, invoking a private method from outside the defining class is prohibited) and throws IllegalAccessException if the operation is not permitted. If the accessible flag is set to true, these checks are omitted. This allows privileged code, such as Java object serialization, object inspectors, and debuggers to have complete access to objects.

See Also

[Android Documentation]

Requirements

Namespace: Java.Lang.Reflect
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1