RuntimeMethodParameter

wvlet.airframe.surface.reflect.RuntimeMethodParameter
case class RuntimeMethodParameter(method: MethodRef, index: Int, name: String, surface: Surface) extends MethodParameter with LogSupport

MethodParameter implementation using reflection for accessing parameter values

Attributes

Graph
Supertypes
trait Product
trait Equals
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Parameter
trait Serializable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete 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

override 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

Definition Classes
override def isRequired: Boolean

Returns true if this parameter has @required annotation

Returns true if this parameter has @required annotation

Attributes

Definition Classes
override def isSecret: Boolean

Returns true if this parameter has @required annotation

Returns true if this parameter has @required annotation

Attributes

Definition Classes
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any

Inherited methods

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

Attributes

Definition Classes
Inherited from:
Parameter
inline protected def debug(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
inline protected def trace(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods