Trait

org.opalj.ai.domain

RecordReturnFromMethodInstructions

Related Doc: package domain

Permalink

trait RecordReturnFromMethodInstructions extends ai.ReturnInstructionsDomain

Records the program counters of all instructions that lead to a (ab)normal return from the method. I.e., every instruction that may throw an exception or causes a normal return from method may be recorded. Examples of instructions that may be recorded: (X)return, throw, invoke(XXX), get|put(static|field), checkcast, (a)new(array),... . Instructions such as swap or dup(XXX), however, never directly lead to a method return (they will never result in an exception) and will not be recorded.

If you are interested in recording the values use: RecordReturnedValues, RecordThrownExceptions.

Usage

This domain can be stacked on top of other traits that handle return instructions and abrupt method executions.

Self Type
RecordReturnFromMethodInstructions with ValuesDomain
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RecordReturnFromMethodInstructions
  2. ReturnInstructionsDomain
  3. AnyRef
  4. 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

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 RecordReturnFromMethodInstructions to any2stringadd[RecordReturnFromMethodInstructions] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (RecordReturnFromMethodInstructions, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordReturnFromMethodInstructions to ArrowAssoc[RecordReturnFromMethodInstructions] 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 abruptMethodExecution(pc: PC, exception: (RecordReturnFromMethodInstructions.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
    RecordReturnFromMethodInstructionsReturnInstructionsDomain
    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.

  7. def allReturnFromMethodInstructions: PCs

    Permalink
  8. def areturn(pc: PC, value: (RecordReturnFromMethodInstructions.this)#DomainValue): Computation[Nothing, (RecordReturnFromMethodInstructions.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
    RecordReturnFromMethodInstructionsReturnInstructionsDomain
  9. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def dreturn(pc: PC, value: (RecordReturnFromMethodInstructions.this)#DomainValue): Computation[Nothing, (RecordReturnFromMethodInstructions.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
    RecordReturnFromMethodInstructionsReturnInstructionsDomain
  12. def ensuring(cond: (RecordReturnFromMethodInstructions) ⇒ Boolean, msg: ⇒ Any): RecordReturnFromMethodInstructions

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

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

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

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

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

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordReturnFromMethodInstructions to StringFormat[RecordReturnFromMethodInstructions] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. def freturn(pc: PC, value: (RecordReturnFromMethodInstructions.this)#DomainValue): Computation[Nothing, (RecordReturnFromMethodInstructions.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
    RecordReturnFromMethodInstructionsReturnInstructionsDomain
  21. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def ireturn(pc: PC, value: (RecordReturnFromMethodInstructions.this)#DomainValue): Computation[Nothing, (RecordReturnFromMethodInstructions.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
    RecordReturnFromMethodInstructionsReturnInstructionsDomain
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def lreturn(pc: PC, value: (RecordReturnFromMethodInstructions.this)#DomainValue): Computation[Nothing, (RecordReturnFromMethodInstructions.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
    RecordReturnFromMethodInstructionsReturnInstructionsDomain
  26. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  29. def returnVoid(pc: PC): Computation[Nothing, (RecordReturnFromMethodInstructions.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
    RecordReturnFromMethodInstructionsReturnInstructionsDomain
  30. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped