Packages

c

org.opalj.tac

Parameters

class Parameters[P <: AnyRef] extends (Int) => P

Information about a method's explicit and implicit parameters.

Source
Parameters.scala
Linear Supertypes
(Int) => P, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Parameters
  2. Function1
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  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. def andThen[A](g: (P) => A): (Int) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. 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
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. def compose[A](g: (A) => Int): (A) => P
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(other: Any): Boolean
    Definition Classes
    Parameters → AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def hashCode(): ValueOrigin
    Definition Classes
    Parameters → AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. 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 the this 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.

  18. val parameters: Array[P]
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. 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 an UnsupportedOperationException is thrown.

  21. def toString(): String
    Definition Classes
    Parameters → Function1 → AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. 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 (Int) => P

Inherited from AnyRef

Inherited from Any

Ungrouped