MethodHandles.PrivateLookupIn(Class, MethodHandles+Lookup) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a lookup object with full capabilities to emulate all supported bytecode behaviors, including private access, on a target class.
[Android.Runtime.Register("privateLookupIn", "(Ljava/lang/Class;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandles$Lookup;", "", ApiSince=33)]
public static Java.Lang.Invoke.MethodHandles.Lookup? PrivateLookupIn(Java.Lang.Class? targetClass, Java.Lang.Invoke.MethodHandles.Lookup? lookup);
[<Android.Runtime.Register("privateLookupIn", "(Ljava/lang/Class;Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/invoke/MethodHandles$Lookup;", "", ApiSince=33)>]
static member PrivateLookupIn : Java.Lang.Class * Java.Lang.Invoke.MethodHandles.Lookup -> Java.Lang.Invoke.MethodHandles.Lookup
Parameters
- targetClass
- Class
the target class
- lookup
- MethodHandles.Lookup
the caller lookup object
Returns
a lookup object for the target class, with private access
- Attributes
Remarks
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.