Table of Contents

Class MethodHandle

Namespace
Java.Lang.Invoke
Assembly
MASES.JNet.dll
public class MethodHandle : JVMBridgeBase<MethodHandle>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<MethodHandle>
MethodHandle
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<MethodHandle>.IsAssignableFrom(IJavaType)
JVMBridgeBase<MethodHandle>.IsAssignableFrom<T>()
JVMBridgeBase<MethodHandle>.Execute<T>(params T[])
JVMBridgeBase<MethodHandle>.DynBridgeClazz
JVMBridgeBase<MethodHandle>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

MethodHandle()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("MethodHandle class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public MethodHandle()

MethodHandle(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("MethodHandle class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public MethodHandle(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

AsCollector(Class, int)

public MethodHandle AsCollector(Class arg0, int arg1)

Parameters

arg0 Class

Class

arg1 int

int

Returns

MethodHandle

MethodHandle

AsCollector(int, Class, int)

public MethodHandle AsCollector(int arg0, Class arg1, int arg2)

Parameters

arg0 int

int

arg1 Class

Class

arg2 int

int

Returns

MethodHandle

MethodHandle

AsFixedArity()

public MethodHandle AsFixedArity()

Returns

MethodHandle

MethodHandle

AsSpreader(Class, int)

public MethodHandle AsSpreader(Class arg0, int arg1)

Parameters

arg0 Class

Class

arg1 int

int

Returns

MethodHandle

MethodHandle

AsSpreader(int, Class, int)

public MethodHandle AsSpreader(int arg0, Class arg1, int arg2)

Parameters

arg0 int

int

arg1 Class

Class

arg2 int

int

Returns

MethodHandle

MethodHandle

AsType(MethodType)

public MethodHandle AsType(MethodType arg0)

Parameters

arg0 MethodType

MethodType

Returns

MethodHandle

MethodHandle

AsVarargsCollector(Class)

public MethodHandle AsVarargsCollector(Class arg0)

Parameters

arg0 Class

Class

Returns

MethodHandle

MethodHandle

BindTo(object)

public MethodHandle BindTo(object arg0)

Parameters

arg0 object

object

Returns

MethodHandle

MethodHandle

Invoke(params object[])

public object Invoke(params object[] arg0)

Parameters

arg0 object[]

object

Returns

object

object

Exceptions

Throwable

InvokeExact(params object[])

public object InvokeExact(params object[] arg0)

Parameters

arg0 object[]

object

Returns

object

object

Exceptions

Throwable

InvokeWithArguments(List<object>)

public object InvokeWithArguments(List<object> arg0)

Parameters

arg0 List<object>

List

Returns

object

object

Exceptions

Throwable

InvokeWithArguments(params object[])

public object InvokeWithArguments(params object[] arg0)

Parameters

arg0 object[]

object

Returns

object

object

Exceptions

Throwable

IsVarargsCollector()

public bool IsVarargsCollector()

Returns

bool

bool

Type()

public MethodType Type()

Returns

MethodType

MethodType

WithVarargs(bool)

public MethodHandle WithVarargs(bool arg0)

Parameters

arg0 bool

bool

Returns

MethodHandle

MethodHandle