MethodHandles.Lookup.In(Class) Method

Definition

Creates a lookup on the specified new lookup class.

[Android.Runtime.Register("in", "(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandles$Lookup;", "", ApiSince=26)]
public Java.Lang.Invoke.MethodHandles.Lookup In(Java.Lang.Class requestedLookupClass);
[<Android.Runtime.Register("in", "(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandles$Lookup;", "", ApiSince=26)>]
member this.In : Java.Lang.Class -> Java.Lang.Invoke.MethodHandles.Lookup

Parameters

requestedLookupClass
Class

the desired lookup class for the new lookup object

Returns

a lookup object which reports the desired lookup class, or the same object if there is no change

Attributes

Remarks

Java documentation for java.lang.invoke.MethodHandles.Lookup.in(java.lang.Class).

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