语言

MethodHandles.Lookup.Public 字段

定义

注意

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

表示访问的单位掩码 public ,这可能导致结果 #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

字段值

Value = 1
特性

注解

表示访问的单位掩码 public ,这可能导致结果 #lookupModes lookupModes。 0x01值恰好与 java.lang.reflect.Modifier#PUBLIC 修饰符位的值public相同。

适用于 . 的 java.lang.invoke.MethodHandles.Lookup.PUBLICJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于