MethodType.HasWrappers Property

Definition

Reports if this type contains a wrapper argument or return value.

public bool HasWrappers { [Android.Runtime.Register("hasWrappers", "()Z", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("hasWrappers", "()Z", "", ApiSince=26)>]
member this.HasWrappers : bool

Property Value

true if any of the types are wrappers

Attributes

Remarks

Reports if this type contains a wrapper argument or return value. Wrappers are types which box primitive values, such as Integer. The reference type java.lang.Void counts as a wrapper, if it occurs as a return type.

Java documentation for java.lang.invoke.MethodType.hasWrappers().

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