Table of Contents

Class MethodType

Namespace
Java.Lang.Invoke
Assembly
MASES.JNet.dll
public class MethodType : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
Inheritance
JVMBridgeBase
JVMBridgeBase<Serializable>
MethodType
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Serializable>.IsAssignableFrom<T>()
JVMBridgeBase<Serializable>.Execute<T>(params T[])
JVMBridgeBase<Serializable>.DynBridgeClazz
JVMBridgeBase<Serializable>.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

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

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

AppendParameterTypes(params Class[])

public MethodType AppendParameterTypes(params Class[] arg0)

Parameters

arg0 Class[]

Class

Returns

MethodType

MethodType

AppendParameterTypes(List<Class>)

public MethodType AppendParameterTypes(List<Class> arg0)

Parameters

arg0 List<Class>

List

Returns

MethodType

MethodType

ChangeParameterType(int, Class)

public MethodType ChangeParameterType(int arg0, Class arg1)

Parameters

arg0 int

int

arg1 Class

Class

Returns

MethodType

MethodType

ChangeReturnType(Class)

public MethodType ChangeReturnType(Class arg0)

Parameters

arg0 Class

Class

Returns

MethodType

MethodType

DropParameterTypes(int, int)

public MethodType DropParameterTypes(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

MethodType

MethodType

Erase()

public MethodType Erase()

Returns

MethodType

MethodType

FromMethodDescriptorString(String, ClassLoader)

public static MethodType FromMethodDescriptorString(String arg0, ClassLoader arg1)

Parameters

arg0 String

String

arg1 ClassLoader

ClassLoader

Returns

MethodType

MethodType

Exceptions

IllegalArgumentException
TypeNotPresentException

Generic()

public MethodType Generic()

Returns

MethodType

MethodType

GenericMethodType(int)

public static MethodType GenericMethodType(int arg0)

Parameters

arg0 int

int

Returns

MethodType

MethodType

GenericMethodType(int, bool)

public static MethodType GenericMethodType(int arg0, bool arg1)

Parameters

arg0 int

int

arg1 bool

bool

Returns

MethodType

MethodType

HasPrimitives()

public bool HasPrimitives()

Returns

bool

bool

HasWrappers()

public bool HasWrappers()

Returns

bool

bool

InsertParameterTypes(int, params Class[])

public MethodType InsertParameterTypes(int arg0, params Class[] arg1)

Parameters

arg0 int

int

arg1 Class[]

Class

Returns

MethodType

MethodType

InsertParameterTypes(int, List<Class>)

public MethodType InsertParameterTypes(int arg0, List<Class> arg1)

Parameters

arg0 int

int

arg1 List<Class>

List

Returns

MethodType

MethodType

LastParameterType()

public Class LastParameterType()

Returns

Class

Class

MethodTypeMethod(Class)

public static MethodType MethodTypeMethod(Class arg0)

Parameters

arg0 Class

Class

Returns

MethodType

MethodType

MethodTypeMethod(Class, Class)

public static MethodType MethodTypeMethod(Class arg0, Class arg1)

Parameters

arg0 Class

Class

arg1 Class

Class

Returns

MethodType

MethodType

MethodTypeMethod(Class, Class, params Class[])

public static MethodType MethodTypeMethod(Class arg0, Class arg1, params Class[] arg2)

Parameters

arg0 Class

Class

arg1 Class

Class

arg2 Class[]

Class

Returns

MethodType

MethodType

MethodTypeMethod(Class, Class[])

public static MethodType MethodTypeMethod(Class arg0, Class[] arg1)

Parameters

arg0 Class

Class

arg1 Class[]

Class

Returns

MethodType

MethodType

MethodTypeMethod(Class, MethodType)

public static MethodType MethodTypeMethod(Class arg0, MethodType arg1)

Parameters

arg0 Class

Class

arg1 MethodType

MethodType

Returns

MethodType

MethodType

MethodTypeMethod(Class, List<Class>)

public static MethodType MethodTypeMethod(Class arg0, List<Class> arg1)

Parameters

arg0 Class

Class

arg1 List<Class>

List

Returns

MethodType

MethodType

ParameterArray()

public Class[] ParameterArray()

Returns

Class[]

Class

ParameterCount()

public int ParameterCount()

Returns

int

int

ParameterList()

public List<Class> ParameterList()

Returns

List<Class>

List

ParameterType(int)

public Class ParameterType(int arg0)

Parameters

arg0 int

int

Returns

Class

Class

ReturnType()

public Class ReturnType()

Returns

Class

Class

ToMethodDescriptorString()

public String ToMethodDescriptorString()

Returns

String

String

Unwrap()

public MethodType Unwrap()

Returns

MethodType

MethodType

Wrap()

public MethodType Wrap()

Returns

MethodType

MethodType