C# Class Fan.Sys.Method

Method is an invocable operation on a Type.
Inheritance: Slot
ファイルを表示 Open project: xored/f4 Class Usage Examples

Public Methods

Method Description
@params ( ) : List
@typeof ( ) : Type
Method ( Type parent, string name, int flags, Facets facets, int lineNum, Type returns, Type inheritedReturns, List pars ) : System

Constructor used by Type.reflect.

Method ( Type parent, string name, int flags, Facets facets, int lineNum, Type returns, Type inheritedReturns, List pars, Method generic ) : System

Constructor used by GenericType and we are given the generic method that is being parameterized.

call ( ) : object
call ( object a ) : object
call ( object a, object b ) : object
call ( object a, object b, object c ) : object
call ( object a, object b, object c, object d ) : object
call ( object a, object b, object c, object d, object e ) : object
call ( object a, object b, object c, object d, object e, object f ) : object
call ( object a, object b, object c, object d, object e, object f, object g ) : object
call ( object a, object b, object c, object d, object e, object f, object g, object h ) : object
callList ( List args ) : object
callOn ( object target, List args ) : object
func ( ) : Func
getGenericMethod ( ) : Method

If isGenericInstance is true, then return the generic method which this method instantiates. The generic method may be used to access the actual signatures used in the Java code (via getRawType). If this method is not a generic instance, return null.

inheritedReturns ( ) : Type
isGenericInstance ( ) : bool

Return if this method is the parameterization of a generic method, with all the generic parameters filled in with real types.

isGenericMethod ( ) : bool

Return if this method contains generic parameters in it's signature.

minParams ( ) : int
returns ( ) : Type
signature ( ) : string
trap ( string name, List args ) : object

Private Methods

Method Description
invoke ( object instance, object args ) : object
isInstance ( ) : bool
toMask ( Type parent, Type returns, List pars ) : int

Compute if the method signature contains generic parameter types.

Method Details

@params() public method

public @params ( ) : List
return List

@typeof() public method

public @typeof ( ) : Type
return Type

Method() public method

Constructor used by Type.reflect.
public Method ( Type parent, string name, int flags, Facets facets, int lineNum, Type returns, Type inheritedReturns, List pars ) : System
parent Type
name string
flags int
facets Facets
lineNum int
returns Type
inheritedReturns Type
pars List
return System

Method() public method

Constructor used by GenericType and we are given the generic method that is being parameterized.
public Method ( Type parent, string name, int flags, Facets facets, int lineNum, Type returns, Type inheritedReturns, List pars, Method generic ) : System
parent Type
name string
flags int
facets Facets
lineNum int
returns Type
inheritedReturns Type
pars List
generic Method
return System

call() public method

public call ( ) : object
return object

call() public method

public call ( object a ) : object
a object
return object

call() public method

public call ( object a, object b ) : object
a object
b object
return object

call() public method

public call ( object a, object b, object c ) : object
a object
b object
c object
return object

call() public method

public call ( object a, object b, object c, object d ) : object
a object
b object
c object
d object
return object

call() public method

public call ( object a, object b, object c, object d, object e ) : object
a object
b object
c object
d object
e object
return object

call() public method

public call ( object a, object b, object c, object d, object e, object f ) : object
a object
b object
c object
d object
e object
f object
return object

call() public method

public call ( object a, object b, object c, object d, object e, object f, object g ) : object
a object
b object
c object
d object
e object
f object
g object
return object

call() public method

public call ( object a, object b, object c, object d, object e, object f, object g, object h ) : object
a object
b object
c object
d object
e object
f object
g object
h object
return object

callList() public method

public callList ( List args ) : object
args List
return object

callOn() public method

public callOn ( object target, List args ) : object
target object
args List
return object

func() public method

public func ( ) : Func
return Func

getGenericMethod() public method

If isGenericInstance is true, then return the generic method which this method instantiates. The generic method may be used to access the actual signatures used in the Java code (via getRawType). If this method is not a generic instance, return null.
public getGenericMethod ( ) : Method
return Method

inheritedReturns() public method

public inheritedReturns ( ) : Type
return Type

isGenericInstance() public method

Return if this method is the parameterization of a generic method, with all the generic parameters filled in with real types.
public isGenericInstance ( ) : bool
return bool

isGenericMethod() public method

Return if this method contains generic parameters in it's signature.
public isGenericMethod ( ) : bool
return bool

minParams() public method

public minParams ( ) : int
return int

returns() public method

public returns ( ) : Type
return Type

signature() public method

public signature ( ) : string
return string

trap() public method

public trap ( string name, List args ) : object
name string
args List
return object