Parameter

wvlet.airframe.surface.Parameter
trait Parameter extends ParameterBase

Attributes

Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def get(x: Any): Any

Get this parameter value from a given object x

Get this parameter value from a given object x

Attributes

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

def index: Int
def isRequired: Boolean

Returns true if this parameter has @required annotation

Returns true if this parameter has @required annotation

Attributes

def isSecret: Boolean

Returns true if this parameter has @required annotation

Returns true if this parameter has @required annotation

Attributes

def name: String

Surface for representing this parameter type

Surface for representing this parameter type

Attributes

Concrete methods

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

Attributes

Definition Classes