Class MethodType
public class MethodType : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Serializable>MethodType
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)JVMBridgeBase<Serializable>.IsAssignableFrom<T>()JVMBridgeBase<Serializable>.Execute<T>(params T[])JVMBridgeBase<Serializable>.DynBridgeClazzJVMBridgeBase<Serializable>.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
MethodType()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public MethodType()
MethodType(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 MethodType(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
AppendParameterTypes(params Class[])
public MethodType AppendParameterTypes(params Class[] arg0)
Parameters
Returns
AppendParameterTypes(List<Class>)
public MethodType AppendParameterTypes(List<Class> arg0)
Parameters
Returns
ChangeParameterType(int, Class)
public MethodType ChangeParameterType(int arg0, Class arg1)
Parameters
Returns
ChangeReturnType(Class)
public MethodType ChangeReturnType(Class arg0)
Parameters
Returns
DropParameterTypes(int, int)
public MethodType DropParameterTypes(int arg0, int arg1)
Parameters
Returns
Erase()
public MethodType Erase()
Returns
FromMethodDescriptorString(String, ClassLoader)
public static MethodType FromMethodDescriptorString(String arg0, ClassLoader arg1)
Parameters
arg0
Stringarg1
ClassLoader
Returns
Exceptions
Generic()
public MethodType Generic()
Returns
GenericMethodType(int)
public static MethodType GenericMethodType(int arg0)
Parameters
Returns
GenericMethodType(int, bool)
public static MethodType GenericMethodType(int arg0, bool arg1)
Parameters
Returns
HasPrimitives()
public bool HasPrimitives()
Returns
HasWrappers()
public bool HasWrappers()
Returns
InsertParameterTypes(int, params Class[])
public MethodType InsertParameterTypes(int arg0, params Class[] arg1)
Parameters
Returns
InsertParameterTypes(int, List<Class>)
public MethodType InsertParameterTypes(int arg0, List<Class> arg1)
Parameters
Returns
LastParameterType()
public Class LastParameterType()
Returns
MethodTypeMethod(Class)
public static MethodType MethodTypeMethod(Class arg0)
Parameters
Returns
MethodTypeMethod(Class, Class)
public static MethodType MethodTypeMethod(Class arg0, Class arg1)
Parameters
Returns
MethodTypeMethod(Class, Class, params Class[])
public static MethodType MethodTypeMethod(Class arg0, Class arg1, params Class[] arg2)
Parameters
Returns
MethodTypeMethod(Class, Class[])
public static MethodType MethodTypeMethod(Class arg0, Class[] arg1)
Parameters
Returns
MethodTypeMethod(Class, MethodType)
public static MethodType MethodTypeMethod(Class arg0, MethodType arg1)
Parameters
arg0
Classarg1
MethodType
Returns
MethodTypeMethod(Class, List<Class>)
public static MethodType MethodTypeMethod(Class arg0, List<Class> arg1)
Parameters
Returns
ParameterArray()
public Class[] ParameterArray()
Returns
ParameterCount()
public int ParameterCount()
Returns
ParameterList()
public List<Class> ParameterList()
Returns
ParameterType(int)
public Class ParameterType(int arg0)
Parameters
Returns
ReturnType()
public Class ReturnType()
Returns
ToMethodDescriptorString()
public String ToMethodDescriptorString()
Returns
Unwrap()
public MethodType Unwrap()
Returns
Wrap()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/MethodType.html#wrap()
public MethodType Wrap()