Udostępnij za pośrednictwem


MethodHandles.Lookup.Package 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 package access (default access), which may contribute to the result of #lookupModes lookupModes.

[Android.Runtime.Register("PACKAGE", 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 Package = 8;
[<Android.Runtime.Register("PACKAGE", 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 Package : Java.Lang.Invoke.MethodLookupModes

Field Value

Value = 8
Attributes

Remarks

A single-bit mask representing package access (default access), which may contribute to the result of #lookupModes lookupModes. The value is 0x08, which does not correspond meaningfully to any particular java.lang.reflect.Modifier modifier bit.

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

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