class Parameters[P <: AnyRef] extends (Int) => P
Information about a method's explicit and implicit parameters.
- Source
- Parameters.scala
- Alphabetic
- By Inheritance
- Parameters
- Function1
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Parameters(parameters: Array[P])
- parameters
The (non-null) array with the information about the explicit method parameters. The array must not be mutated. The first explicit parameter is always stored at location 1 (also in case of static methods) to enable a unified access to a method's parameters whether the method is static or not.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def andThen[A](g: (P) => A): (Int) => A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def apply(index: Int): P
Returns the parameter with the specified index; the first (declared) parameter has the index 1.
Returns the parameter with the specified index; the first (declared) parameter has the index 1. The (implicit) this parameter has the index 0, if it exists.
- Definition Classes
- Parameters → Function1
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def compose[A](g: (A) => Int): (A) => P
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- Parameters → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): ValueOrigin
- Definition Classes
- Parameters → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def parameter(vo: ValueOrigin): P
Returns the parameter with the respective value origin.
Returns the parameter with the respective value origin.
- vo
The origin of the associated parameter. The origin is used in the 3-address code to identify parameters. The origin
-1
always identifies thethis
parameter in case of an instance method and is unused otherwise. The origins [-2..(-2-parametersCount)] correspond to the explicitly specified method parameters.- returns
The parameter with the respective value origin.
- val parameters: Array[P]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def thisParameter: P
The instance method's implicit
this
parameter.The instance method's implicit
this
parameter.- returns
The variable capturing information about the
this
parameter; if the underlying methods is static anUnsupportedOperationException
is thrown.
- def toString(): String
- Definition Classes
- Parameters → Function1 → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated