Share via


MethodHandles.Lookup.Protected Field

Definition

Caution

This constant will be removed in the future version. Use Java.Lang.Invoke.MethodLookupModes enum directly instead of this field.

A single-bit mask representing protected access, which may contribute to the result of #lookupModes lookupModes.

[Android.Runtime.Register("PROTECTED", ApiSince=26)]
[System.Obsolete("This constant will be removed in the future version. Use Java.Lang.Invoke.MethodLookupModes enum directly instead of this field.", true)]
public const Java.Lang.Invoke.MethodLookupModes Protected = 4;
[<Android.Runtime.Register("PROTECTED", ApiSince=26)>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Lang.Invoke.MethodLookupModes enum directly instead of this field.", true)>]
val mutable Protected : Java.Lang.Invoke.MethodLookupModes

Field Value

Value = 4
Attributes

Remarks

A single-bit mask representing protected access, which may contribute to the result of #lookupModes lookupModes. The value, 0x04, happens to be the same as the value of the protectedjava.lang.reflect.Modifier#PROTECTED modifier bit.

Java documentation for java.lang.invoke.MethodHandles.Lookup.PROTECTED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to