Trait

org.opalj.ai.domain

RecordReturnedValue

Related Doc: package domain

Permalink

trait RecordReturnedValue extends RecordReturnedValuesInfrastructure

Record the value returned by a method across all return instructions.

Usage

This domain can be stacked on top of other traits that handle return instructions that return some value.

Usage

A domain that mixes in this trait should only be used to analyze a single method.

Self Type
RecordReturnedValue with ValuesDomain
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RecordReturnedValue
  2. RecordReturnedValuesInfrastructure
  3. ReturnInstructionsDomain
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type ReturnedValue <: AnyRef

    Permalink

    This type determines in which way the returned values are recorded.

    This type determines in which way the returned values are recorded.

    For example, if it is sufficient to just record the last value that was returned by a specific return instruction, then the type could be DomainValue and the implementation of joinReturnedValues(...) would just return the last given value. Furthermore, returnedValue would be the identity function.

    However, if you have a (more) precise domain you may want to collect all returned values. In this case the type of ReturnedValue could be Set[DomainValue].

    Definition Classes
    RecordReturnedValuesInfrastructure

Abstract Value Members

  1. abstract def abruptMethodExecution(pc: PC, exceptionValue: (RecordReturnedValue.this)#ExceptionValue): Unit

    Permalink

    Called by the abstract interpreter when an exception is thrown that is not (guaranteed to be) handled within the same method.

    Called by the abstract interpreter when an exception is thrown that is not (guaranteed to be) handled within the same method.

    Definition Classes
    ReturnInstructionsDomain
    Note

    If the original exception value is null (/*E.g.*/throw null;), then the exception that is actually thrown is a new NullPointerException. This situation is, however, completely handled by OPAL and the exception value is hence never null.

  2. abstract def returnVoid(pc: PC): Computation[Nothing, (RecordReturnedValue.this)#ExceptionValue]

    Permalink

    Called when a return instruction with the given pc is reached.

    Called when a return instruction with the given pc is reached. In other words, when the method returns normally.

    Definition Classes
    ReturnInstructionsDomain

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordReturnedValue to any2stringadd[RecordReturnedValue] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (RecordReturnedValue, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordReturnedValue to ArrowAssoc[RecordReturnedValue] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def areturn(pc: PC, value: (RecordReturnedValue.this)#DomainValue): Computation[Nothing, (RecordReturnedValue.this)#ExceptionValue]

    Permalink

    The given value, which is a value with computational type reference, is returned by the return instruction with the given pc.

    The given value, which is a value with computational type reference, is returned by the return instruction with the given pc.

    Definition Classes
    RecordReturnedValuesInfrastructureReturnInstructionsDomain
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def doRecordReturnedValue(pc: PC, value: (RecordReturnedValue.this)#DomainValue): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    RecordReturnedValueRecordReturnedValuesInfrastructure
  10. def dreturn(pc: PC, value: (RecordReturnedValue.this)#DomainValue): Computation[Nothing, (RecordReturnedValue.this)#ExceptionValue]

    Permalink

    The given value, which is a value with computational type double, is returned by the return instruction with the given pc.

    The given value, which is a value with computational type double, is returned by the return instruction with the given pc.

    Definition Classes
    RecordReturnedValuesInfrastructureReturnInstructionsDomain
  11. def ensuring(cond: (RecordReturnedValue) ⇒ Boolean, msg: ⇒ Any): RecordReturnedValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordReturnedValue to Ensuring[RecordReturnedValue] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (RecordReturnedValue) ⇒ Boolean): RecordReturnedValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordReturnedValue to Ensuring[RecordReturnedValue] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): RecordReturnedValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordReturnedValue to Ensuring[RecordReturnedValue] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): RecordReturnedValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordReturnedValue to Ensuring[RecordReturnedValue] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordReturnedValue to StringFormat[RecordReturnedValue] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. def freturn(pc: PC, value: (RecordReturnedValue.this)#DomainValue): Computation[Nothing, (RecordReturnedValue.this)#ExceptionValue]

    Permalink

    The given value, which is a value with computational type float, is returned by the return instruction with the given pc.

    The given value, which is a value with computational type float, is returned by the return instruction with the given pc.

    Definition Classes
    RecordReturnedValuesInfrastructureReturnInstructionsDomain
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def ireturn(pc: PC, value: (RecordReturnedValue.this)#DomainValue): Computation[Nothing, (RecordReturnedValue.this)#ExceptionValue]

    Permalink

    The given value, which is a value with computational type integer, is returned by the return instruction with the given pc.

    The given value, which is a value with computational type integer, is returned by the return instruction with the given pc.

    Definition Classes
    RecordReturnedValuesInfrastructureReturnInstructionsDomain
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def lreturn(pc: PC, value: (RecordReturnedValue.this)#DomainValue): Computation[Nothing, (RecordReturnedValue.this)#ExceptionValue]

    Permalink

    The given value, which is a value with computational type long, is returned by the return instruction with the given pc.

    The given value, which is a value with computational type long, is returned by the return instruction with the given pc.

    Definition Classes
    RecordReturnedValuesInfrastructureReturnInstructionsDomain
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def returnedValue: Option[(RecordReturnedValue.this)#DomainValue]

    Permalink
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def [B](y: B): (RecordReturnedValue, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordReturnedValue to ArrowAssoc[RecordReturnedValue] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from RecordReturnedValue to any2stringadd[RecordReturnedValue]

Inherited by implicit conversion StringFormat from RecordReturnedValue to StringFormat[RecordReturnedValue]

Inherited by implicit conversion Ensuring from RecordReturnedValue to Ensuring[RecordReturnedValue]

Inherited by implicit conversion ArrowAssoc from RecordReturnedValue to ArrowAssoc[RecordReturnedValue]

Ungrouped