MethodHandles.Lookup.Protected 字段

定义

注意

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

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

字段值

Value = 4
属性

注解

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

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

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

适用于