Freigeben über


MethodHandle.IsVarargsCollector Property

Definition

Determines if this method handle supports #asVarargsCollector variable arity calls.

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

Property Value

true if this method handle accepts more than one arity of plain, inexact invoke calls

Attributes

Remarks

Determines if this method handle supports #asVarargsCollector variable arity calls. Such method handles arise from the following sources: <ul> <li>a call to #asVarargsCollector asVarargsCollector<li>a call to a java.lang.invoke.MethodHandles.Lookup lookup method which resolves to a variable arity Java method or constructor <li>an ldc instruction of a CONSTANT_MethodHandle which resolves to a variable arity Java method or constructor </ul>

Java documentation for java.lang.invoke.MethodHandle.isVarargsCollector().

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