Packages

c

org.opalj.tac.fpcf.analyses.escape

ReturnValueFreshnessAnalysis

class ReturnValueFreshnessAnalysis extends FPCFAnalysis

This analysis determines for a given method whether the return value is a fresh object that is created by the method (or its callees) and that does not escape other than org.opalj.br.fpcf.properties.EscapeViaReturn.

In other words, it aggregates the escape information for allocation-sites that are used as return value.

Source
ReturnValueFreshnessAnalysis.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReturnValueFreshnessAnalysis
  2. FPCFAnalysis
  3. ProjectBasedAnalysis
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def ch: ClassHierarchy
    Definition Classes
    ProjectBasedAnalysis
  6. implicit final def classHierarchy: ClassHierarchy
    Definition Classes
    ProjectBasedAnalysis
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. def continuation(someEPS: SomeEPS)(implicit state: ReturnValueFreshnessState): ProperPropertyComputationResult

    A continuation function, that handles updates for the escape state.

  9. def determineFreshness(e: Entity): ProperPropertyComputationResult

    Ensures that we invoke doDetermineFreshness for org.opalj.br.DefinedMethods only.

  10. def determineFreshnessForMethod(context: Context, code: Array[Stmt[V]])(implicit state: ReturnValueFreshnessState): ProperPropertyComputationResult
  11. def doDetermineFreshness(context: Context): ProperPropertyComputationResult

    Determines the return value freshness for an org.opalj.br.DefinedMethod.

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. def getTACAICode(method: Method)(implicit state: ReturnValueFreshnessState): Option[Array[Stmt[V]]]

    Returns the TACode for a method if available, registering dependencies as necessary.

  16. def handleCallSite(callerContext: Context, pc: Int)(implicit state: ReturnValueFreshnessState): Boolean
  17. def handleEscapeProperty(ep: EOptionP[(Context, DefinitionSite), EscapeProperty])(implicit state: ReturnValueFreshnessState): Boolean

    Handles the influence of an escape property on the return value freshness.

    Handles the influence of an escape property on the return value freshness.

    returns

    false if the return value may still be fresh, true otherwise.

    Note

    (Re-)Adds dependees as necessary.

  18. def handleFieldLocalityProperty(ep: EOptionP[Field, FieldLocality])(implicit state: ReturnValueFreshnessState): Boolean

    Handles the influence of a field locality property on the return value freshness.

    Handles the influence of a field locality property on the return value freshness.

    returns

    false if the return value may still be fresh, true otherwise.

    Note

    (Re-)Adds dependees as necessary.

  19. def handleReturnValueFreshness(ep: EOptionP[Context, ReturnValueFreshness])(implicit state: ReturnValueFreshnessState): Boolean

    Handles the influence of a callee's return value freshness on the return value freshness.

    Handles the influence of a callee's return value freshness on the return value freshness.

    returns

    false if the return value may still be fresh, true otherwise.

    Note

    (Re-)Adds dependees as necessary.

  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. implicit final def logContext: LogContext
    Definition Classes
    ProjectBasedAnalysis
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  26. implicit final def p: SomeProject
    Definition Classes
    ProjectBasedAnalysis
  27. final val project: SomeProject
  28. implicit final val propertyStore: PropertyStore
    Definition Classes
    FPCFAnalysis
  29. final def ps: PropertyStore
    Definition Classes
    FPCFAnalysis
  30. def returnResult(implicit state: ReturnValueFreshnessState): ProperPropertyComputationResult
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. 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 FPCFAnalysis

Inherited from ProjectBasedAnalysis

Inherited from AnyRef

Inherited from Any

Ungrouped