Class MethodHandles
public class MethodHandles : JVMBridgeBase<MethodHandles>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<MethodHandles>MethodHandles
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<MethodHandles>.SExecuteWithSignature(Type, IJavaType, string, string, params object[])JVMBridgeBase<MethodHandles>.SExecute<TReturn, TConverter>(Type, IJavaType, string, params object[])JVMBridgeBase<MethodHandles>.IsAssignableFrom(IJavaType)JVMBridgeBase<MethodHandles>.IsAssignableFrom<T>()JVMBridgeBase<MethodHandles>.Execute<T>(params T[])JVMBridgeBase<MethodHandles>.DynBridgeClazzJVMBridgeBase<MethodHandles>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
MethodHandles()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public MethodHandles()
MethodHandles(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
public MethodHandles(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
ArrayConstructor(Class)
public static MethodHandle ArrayConstructor(Class arg0)
Parameters
Returns
Exceptions
ArrayElementGetter(Class)
public static MethodHandle ArrayElementGetter(Class arg0)
Parameters
Returns
Exceptions
ArrayElementSetter(Class)
public static MethodHandle ArrayElementSetter(Class arg0)
Parameters
Returns
Exceptions
ArrayElementVarHandle(Class)
public static VarHandle ArrayElementVarHandle(Class arg0)
Parameters
Returns
Exceptions
ArrayLength(Class)
public static MethodHandle ArrayLength(Class arg0)
Parameters
Returns
Exceptions
ByteArrayViewVarHandle(Class, ByteOrder)
public static VarHandle ByteArrayViewVarHandle(Class arg0, ByteOrder arg1)
Parameters
Returns
Exceptions
ByteBufferViewVarHandle(Class, ByteOrder)
public static VarHandle ByteBufferViewVarHandle(Class arg0, ByteOrder arg1)
Parameters
Returns
Exceptions
CatchException(MethodHandle, Class, MethodHandle)
public static MethodHandle CatchException(MethodHandle arg0, Class arg1, MethodHandle arg2)
Parameters
arg0
MethodHandlearg1
Classarg2
MethodHandle
Returns
CollectArguments(MethodHandle, int, MethodHandle)
public static MethodHandle CollectArguments(MethodHandle arg0, int arg1, MethodHandle arg2)
Parameters
arg0
MethodHandlearg1
intarg2
MethodHandle
Returns
Constant(Class, object)
public static MethodHandle Constant(Class arg0, object arg1)
Parameters
Returns
CountedLoop(MethodHandle, MethodHandle, MethodHandle)
public static MethodHandle CountedLoop(MethodHandle arg0, MethodHandle arg1, MethodHandle arg2)
Parameters
arg0
MethodHandlearg1
MethodHandlearg2
MethodHandle
Returns
CountedLoop(MethodHandle, MethodHandle, MethodHandle, MethodHandle)
public static MethodHandle CountedLoop(MethodHandle arg0, MethodHandle arg1, MethodHandle arg2, MethodHandle arg3)
Parameters
arg0
MethodHandlearg1
MethodHandlearg2
MethodHandlearg3
MethodHandle
Returns
DoWhileLoop(MethodHandle, MethodHandle, MethodHandle)
public static MethodHandle DoWhileLoop(MethodHandle arg0, MethodHandle arg1, MethodHandle arg2)
Parameters
arg0
MethodHandlearg1
MethodHandlearg2
MethodHandle
Returns
DropArguments(MethodHandle, int, params Class[])
public static MethodHandle DropArguments(MethodHandle arg0, int arg1, params Class[] arg2)
Parameters
arg0
MethodHandlearg1
intarg2
Class[]
Returns
DropArguments(MethodHandle, int, List<Class>)
public static MethodHandle DropArguments(MethodHandle arg0, int arg1, List<Class> arg2)
Parameters
arg0
MethodHandlearg1
intarg2
List<Class>
Returns
DropArgumentsToMatch(MethodHandle, int, List<Class>, int)
public static MethodHandle DropArgumentsToMatch(MethodHandle arg0, int arg1, List<Class> arg2, int arg3)
Parameters
arg0
MethodHandlearg1
intarg2
List<Class>arg3
int
Returns
Empty(MethodType)
public static MethodHandle Empty(MethodType arg0)
Parameters
arg0
MethodType
Returns
ExactInvoker(MethodType)
public static MethodHandle ExactInvoker(MethodType arg0)
Parameters
arg0
MethodType
Returns
ExplicitCastArguments(MethodHandle, MethodType)
public static MethodHandle ExplicitCastArguments(MethodHandle arg0, MethodType arg1)
Parameters
arg0
MethodHandlearg1
MethodType
Returns
FilterArguments(MethodHandle, int, params MethodHandle[])
public static MethodHandle FilterArguments(MethodHandle arg0, int arg1, params MethodHandle[] arg2)
Parameters
arg0
MethodHandlearg1
intarg2
MethodHandle[]
Returns
FilterReturnValue(MethodHandle, MethodHandle)
public static MethodHandle FilterReturnValue(MethodHandle arg0, MethodHandle arg1)
Parameters
arg0
MethodHandlearg1
MethodHandle
Returns
FoldArguments(MethodHandle, MethodHandle)
public static MethodHandle FoldArguments(MethodHandle arg0, MethodHandle arg1)
Parameters
arg0
MethodHandlearg1
MethodHandle
Returns
FoldArguments(MethodHandle, int, MethodHandle)
public static MethodHandle FoldArguments(MethodHandle arg0, int arg1, MethodHandle arg2)
Parameters
arg0
MethodHandlearg1
intarg2
MethodHandle
Returns
GuardWithTest(MethodHandle, MethodHandle, MethodHandle)
public static MethodHandle GuardWithTest(MethodHandle arg0, MethodHandle arg1, MethodHandle arg2)
Parameters
arg0
MethodHandlearg1
MethodHandlearg2
MethodHandle
Returns
Identity(Class)
public static MethodHandle Identity(Class arg0)
Parameters
Returns
InsertArguments(MethodHandle, int, params object[])
public static MethodHandle InsertArguments(MethodHandle arg0, int arg1, params object[] arg2)
Parameters
arg0
MethodHandlearg1
intarg2
object[]
Returns
Invoker(MethodType)
public static MethodHandle Invoker(MethodType arg0)
Parameters
arg0
MethodType
Returns
IteratedLoop(MethodHandle, MethodHandle, MethodHandle)
public static MethodHandle IteratedLoop(MethodHandle arg0, MethodHandle arg1, MethodHandle arg2)
Parameters
arg0
MethodHandlearg1
MethodHandlearg2
MethodHandle
Returns
LookupMethod()
public static MethodHandles.Lookup LookupMethod()
Returns
Loop(params MethodHandle[][])
public static MethodHandle Loop(params MethodHandle[][] arg0)
Parameters
arg0
MethodHandle[][]
Returns
PermuteArguments(MethodHandle, MethodType, params int[])
public static MethodHandle PermuteArguments(MethodHandle arg0, MethodType arg1, params int[] arg2)
Parameters
arg0
MethodHandlearg1
MethodTypearg2
int[]
Returns
PrivateLookupIn(Class, Lookup)
public static MethodHandles.Lookup PrivateLookupIn(Class arg0, MethodHandles.Lookup arg1)
Parameters
arg0
Classarg1
MethodHandles.Lookup
Returns
Exceptions
PublicLookup()
public static MethodHandles.Lookup PublicLookup()
Returns
ReflectAs<T>(Class, MethodHandle)
public static T ReflectAs<T>(Class arg0, MethodHandle arg1) where T : IMember, new()
Parameters
arg0
Classarg1
MethodHandle
Returns
- T
T
Type Parameters
T
SpreadInvoker(MethodType, int)
public static MethodHandle SpreadInvoker(MethodType arg0, int arg1)
Parameters
arg0
MethodTypearg1
int
Returns
ThrowException(Class, Class)
public static MethodHandle ThrowException(Class arg0, Class arg1)
Parameters
Returns
TryFinally(MethodHandle, MethodHandle)
public static MethodHandle TryFinally(MethodHandle arg0, MethodHandle arg1)
Parameters
arg0
MethodHandlearg1
MethodHandle
Returns
VarHandleExactInvoker(AccessMode, MethodType)
public static MethodHandle VarHandleExactInvoker(VarHandle.AccessMode arg0, MethodType arg1)
Parameters
Returns
VarHandleInvoker(AccessMode, MethodType)
public static MethodHandle VarHandleInvoker(VarHandle.AccessMode arg0, MethodType arg1)
Parameters
Returns
WhileLoop(MethodHandle, MethodHandle, MethodHandle)
public static MethodHandle WhileLoop(MethodHandle arg0, MethodHandle arg1, MethodHandle arg2)
Parameters
arg0
MethodHandlearg1
MethodHandlearg2
MethodHandle
Returns
Zero(Class)
public static MethodHandle Zero(Class arg0)