Language

IMethodHandleInfo.DeclaringClass Property

Definition

Returns the class in which the cracked method handle's underlying member was defined.

public Java.Lang.Class? DeclaringClass { [Android.Runtime.Register("getDeclaringClass", "()Ljava/lang/Class;", "GetGetDeclaringClassHandler:Java.Lang.Invoke.IMethodHandleInfoInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getDeclaringClass", "()Ljava/lang/Class;", "GetGetDeclaringClassHandler:Java.Lang.Invoke.IMethodHandleInfoInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
member this.DeclaringClass : Java.Lang.Class

Property Value

the declaring class of the underlying member

Attributes

Remarks

Returns the class in which the cracked method handle's underlying member was defined.

Java documentation for java.lang.invoke.MethodHandleInfo.getDeclaringClass().

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