StaticMethodParameter

case class StaticMethodParameter(method: MethodRef, index: Int, name: String, isRequired: Boolean, isSecret: Boolean, surface: Surface, defaultValue: Option[Any], accessor: Option[Any => Any], methodArgAccessor: Option[Any => Any]) extends MethodParameter

Parameters of a Surface. Renamed from StdMethodParameter to StaticMethodParameter for binary compatibility

trait Product
trait Equals
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

override 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

Definition Classes
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 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
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product