IMethod

Overview

Interface to access a method reference or definition.

Location


 

Convenience

 

property Convenience: Boolean read;

 

Boolean Convenience { get; }

 

var Convenience: Boolean { get{} }

 

Boolean Convenience { __get; }

 

ReadOnly Property Convenience() As Boolean

Final

If true this method is final and cannot be overridden.

 

property Final: Boolean read;

 

Boolean Final { get; }

 

var Final: Boolean { get{} }

 

Boolean Final { __get; }

 

ReadOnly Property Final() As Boolean

GetParameter

Returns a method parameter by index

 

method GetParameter(no: Int32): IParameter

 

IParameter GetParameter(Int32 no)

 

func GetParameter(_ no: Int32) -> IParameter

 

IParameter GetParameter(Int32 no)

 

Function GetParameter(no As Int32) As IParameter

Parameters:

  • no: index

GetRaises

Returns a raises type by index

 

method GetRaises(no: Int32): IType

 

IType GetRaises(Int32 no)

 

func GetRaises(_ no: Int32) -> IType

 

IType GetRaises(Int32 no)

 

Function GetRaises(no As Int32) As IType

Parameters:

  • no: index for the item to retrieve

MethodType

 

property MethodType: MethodType read;

 

MethodType MethodType { get; }

 

var MethodType: MethodType { get{} }

 

MethodType MethodType { __get; }

 

ReadOnly Property MethodType() As MethodType

ParameterCount

Returns the number of parameters

 

property ParameterCount: Int32 read;

 

Int32 ParameterCount { get; }

 

var ParameterCount: Int32 { get{} }

 

Int32 ParameterCount { __get; }

 

ReadOnly Property ParameterCount() As Int32

RaisesCount

returns the number of raises

 

property RaisesCount: Int32 read;

 

Int32 RaisesCount { get; }

 

var RaisesCount: Int32 { get{} }

 

Int32 RaisesCount { __get; }

 

ReadOnly Property RaisesCount() As Int32

RedirectedTo

 

property RedirectedTo: IMethod read;

 

IMethod RedirectedTo { get; }

 

var RedirectedTo: IMethod { get{} }

 

IMethod RedirectedTo { __get; }

 

ReadOnly Property RedirectedTo() As IMethod

Required

 

property Required: Boolean read;

 

Boolean Required { get; }

 

var Required: Boolean { get{} }

 

Boolean Required { __get; }

 

ReadOnly Property Required() As Boolean

Result

Returns the result of this method, or nil if it has none.

 

property Result: IType read;

 

IType Result { get; }

 

var Result: IType { get{} }

 

IType Result { __get; }

 

ReadOnly Property Result() As IType

SelectorName

selector name (for platforms where thats relevant)

 

property SelectorName: String read;

 

String SelectorName { get; }

 

var SelectorName: String { get{} }

 

String SelectorName { __get; }

 

ReadOnly Property SelectorName() As String

SpecialName

Returns true if this method is a special name method, generally these are constructors and helper methods.

 

property SpecialName: Boolean read;

 

Boolean SpecialName { get; }

 

var SpecialName: Boolean { get{} }

 

Boolean SpecialName { __get; }

 

ReadOnly Property SpecialName() As Boolean

Throws

 

property Throws: ThrowsState read;

 

ThrowsState Throws { get; }

 

var Throws: ThrowsState { get{} }

 

ThrowsState Throws { __get; }

 

ReadOnly Property Throws() As ThrowsState

Virtual

The virtual mode of this method

 

property Virtual: VirtualMode read;

 

VirtualMode Virtual { get; }

 

var Virtual: VirtualMode { get{} }

 

VirtualMode Virtual { __get; }

 

ReadOnly Property Virtual() As VirtualMode

 

Convenience

 

property Convenience: Boolean read;

 

Boolean Convenience { get; }

 

var Convenience: Boolean { get{} }

 

Boolean Convenience { __get; }

 

ReadOnly Property Convenience() As Boolean

Final

If true this method is final and cannot be overridden.

 

property Final: Boolean read;

 

Boolean Final { get; }

 

var Final: Boolean { get{} }

 

Boolean Final { __get; }

 

ReadOnly Property Final() As Boolean

MethodType

 

property MethodType: MethodType read;

 

MethodType MethodType { get; }

 

var MethodType: MethodType { get{} }

 

MethodType MethodType { __get; }

 

ReadOnly Property MethodType() As MethodType

ParameterCount

Returns the number of parameters

 

property ParameterCount: Int32 read;

 

Int32 ParameterCount { get; }

 

var ParameterCount: Int32 { get{} }

 

Int32 ParameterCount { __get; }

 

ReadOnly Property ParameterCount() As Int32

RaisesCount

returns the number of raises

 

property RaisesCount: Int32 read;

 

Int32 RaisesCount { get; }

 

var RaisesCount: Int32 { get{} }

 

Int32 RaisesCount { __get; }

 

ReadOnly Property RaisesCount() As Int32

RedirectedTo

 

property RedirectedTo: IMethod read;

 

IMethod RedirectedTo { get; }

 

var RedirectedTo: IMethod { get{} }

 

IMethod RedirectedTo { __get; }

 

ReadOnly Property RedirectedTo() As IMethod

Required

 

property Required: Boolean read;

 

Boolean Required { get; }

 

var Required: Boolean { get{} }

 

Boolean Required { __get; }

 

ReadOnly Property Required() As Boolean

Result

Returns the result of this method, or nil if it has none.

 

property Result: IType read;

 

IType Result { get; }

 

var Result: IType { get{} }

 

IType Result { __get; }

 

ReadOnly Property Result() As IType

SelectorName

selector name (for platforms where thats relevant)

 

property SelectorName: String read;

 

String SelectorName { get; }

 

var SelectorName: String { get{} }

 

String SelectorName { __get; }

 

ReadOnly Property SelectorName() As String

SpecialName

Returns true if this method is a special name method, generally these are constructors and helper methods.

 

property SpecialName: Boolean read;

 

Boolean SpecialName { get; }

 

var SpecialName: Boolean { get{} }

 

Boolean SpecialName { __get; }

 

ReadOnly Property SpecialName() As Boolean

Throws

 

property Throws: ThrowsState read;

 

ThrowsState Throws { get; }

 

var Throws: ThrowsState { get{} }

 

ThrowsState Throws { __get; }

 

ReadOnly Property Throws() As ThrowsState

Virtual

The virtual mode of this method

 

property Virtual: VirtualMode read;

 

VirtualMode Virtual { get; }

 

var Virtual: VirtualMode { get{} }

 

VirtualMode Virtual { __get; }

 

ReadOnly Property Virtual() As VirtualMode

 

GetParameter

Returns a method parameter by index

 

method GetParameter(no: Int32): IParameter

 

IParameter GetParameter(Int32 no)

 

func GetParameter(_ no: Int32) -> IParameter

 

IParameter GetParameter(Int32 no)

 

Function GetParameter(no As Int32) As IParameter

Parameters:

  • no: index

GetRaises

Returns a raises type by index

 

method GetRaises(no: Int32): IType

 

IType GetRaises(Int32 no)

 

func GetRaises(_ no: Int32) -> IType

 

IType GetRaises(Int32 no)

 

Function GetRaises(no As Int32) As IType

Parameters:

  • no: index for the item to retrieve