Packages

c

wvlet.airframe.surface

StdMethodParameter

case class StdMethodParameter(method: MethodRef, index: Int, name: String, isRequired: Boolean, isSecret: Boolean, surface: Surface, defaultValue: Option[Any] = None, accessor: Option[(Any) => Any] = None) extends MethodParameter with Product with Serializable

Parameters of a Surface

Linear Supertypes
Product, Equals, MethodParameter, Parameter, ParameterBase, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StdMethodParameter
  2. Product
  3. Equals
  4. MethodParameter
  5. Parameter
  6. ParameterBase
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StdMethodParameter(method: MethodRef, index: Int, name: String, isRequired: Boolean, isSecret: Boolean, surface: Surface, defaultValue: Option[Any] = None, accessor: Option[(Any) => Any] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val accessor: Option[(Any) => Any]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def call(obj: Any, x: Any*): Any
    Definition Classes
    ParameterParameterBase
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def get(x: Any): Any

    Get this parameter value from a given object x

    Get this parameter value from a given object x

    Definition Classes
    StdMethodParameterParameter
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def getDefaultValue: Option[Any]

    Get the default value of this parameter.

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

    Definition Classes
    StdMethodParameterParameter
  12. 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
    MethodParameter
  13. val index: Int
    Definition Classes
    StdMethodParameterParameter
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val isRequired: Boolean

    Returns true if this parameter has @required annotation

    Returns true if this parameter has @required annotation

    Definition Classes
    StdMethodParameterParameter
  16. val isSecret: Boolean

    Returns true if this parameter has @required annotation

    Returns true if this parameter has @required annotation

    Definition Classes
    StdMethodParameterParameter
  17. val method: MethodRef
    Definition Classes
    StdMethodParameterMethodParameter
  18. val name: String
    Definition Classes
    StdMethodParameterParameterParameterBase
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def productElementNames: Iterator[String]
    Definition Classes
    Product
  23. val surface: Surface

    Surface for representing this parameter type

    Surface for representing this parameter type

    Definition Classes
    StdMethodParameterParameterParameterBase
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    StdMethodParameter → AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Product

Inherited from Equals

Inherited from MethodParameter

Inherited from Parameter

Inherited from ParameterBase

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped