Udostępnij za pośrednictwem


MethodHandles.Lookup.Public 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 public access, which may contribute to the result of #lookupModes lookupModes.

[Android.Runtime.Register("PUBLIC", 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 Public = 1;
[<Android.Runtime.Register("PUBLIC", 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 Public : Java.Lang.Invoke.MethodLookupModes

Field Value

Value = 1
Attributes

Remarks

A single-bit mask representing public access, which may contribute to the result of #lookupModes lookupModes. The value, 0x01, happens to be the same as the value of the publicjava.lang.reflect.Modifier#PUBLIC modifier bit.

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

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