Language

MethodHandles.Lookup.In(Class) Method

Definition

Returns a lookup for the specified 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 for the requested class. If that class is the current lookup class, the result represents the same Java object.

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