MethodParameter

wvlet.airframe.surface.MethodParameter
trait MethodParameter extends Parameter

Attributes

Graph
Supertypes
trait Parameter
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Abstract methods

Concrete methods

def getMethodArgDefaultValue(methodOwner: Any): Option[Any]

Method owner instance is necessary to find by-name parameter default values

Method owner instance is necessary to find by-name parameter default values

Attributes

Inherited methods

override def call(obj: Any, x: Any*): Any

Attributes

Definition Classes
Inherited from:
Parameter
def get(x: Any): Any

Get this parameter value from a given object x

Get this parameter value from a given object x

Attributes

Inherited from:
Parameter
def getDefaultValue: Option[Any]

Get the default value of this parameter. For example the default value of x in class A(x:Int = 10) is 10

Get the default value of this parameter. For example the default value of x in class A(x:Int = 10) is 10

Attributes

Inherited from:
Parameter
def index: Int

Attributes

Inherited from:
Parameter
def isRequired: Boolean

Returns true if this parameter has @required annotation

Returns true if this parameter has @required annotation

Attributes

Inherited from:
Parameter
def isSecret: Boolean

Returns true if this parameter has @required annotation

Returns true if this parameter has @required annotation

Attributes

Inherited from:
Parameter
def name: String

Attributes

Inherited from:
Parameter

Surface for representing this parameter type

Surface for representing this parameter type

Attributes

Inherited from:
Parameter