RuntimeMethodParameter

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

MethodParameter implementation using reflection for accessing parameter values

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

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

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

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

Definition Classes
override def isRequired: Boolean

Returns true if this parameter has @required annotation

Returns true if this parameter has @required annotation

Definition Classes
override def isSecret: Boolean

Returns true if this parameter has @required annotation

Returns true if this parameter has @required annotation

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.

Returns:

a string representation of the object.

Definition Classes
Any

Inherited methods

override def call(obj: Any, x: Any*): Any
Definition Classes
Inherited from:
Parameter
inline protected def debug(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit
Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit
Inherited from:
LoggingMethods
inline protected def info(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit
Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit
Inherited from:
LoggingMethods
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
inline protected def trace(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit
Inherited from:
LoggingMethods
inline protected def warn(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit
Inherited from:
LoggingMethods