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.
- Alphabetic
- By Inheritance
- ReturnValueFreshnessAnalysis
- FPCFAnalysis
- ProjectBasedAnalysis
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def ch: ClassHierarchy
- Definition Classes
- ProjectBasedAnalysis
- implicit final def classHierarchy: ClassHierarchy
- Definition Classes
- ProjectBasedAnalysis
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def continuation(someEPS: SomeEPS)(implicit state: ReturnValueFreshnessState): ProperPropertyComputationResult
A continuation function, that handles updates for the escape state.
- def determineFreshness(e: Entity): ProperPropertyComputationResult
Ensures that we invoke doDetermineFreshness for org.opalj.br.DefinedMethods only.
- def determineFreshnessForMethod(context: Context, code: Array[Stmt[V]])(implicit state: ReturnValueFreshnessState): ProperPropertyComputationResult
- def doDetermineFreshness(context: Context): ProperPropertyComputationResult
Determines the return value freshness for an org.opalj.br.DefinedMethod.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getTACAICode(method: Method)(implicit state: ReturnValueFreshnessState): Option[Array[Stmt[V]]]
Returns the TACode for a method if available, registering dependencies as necessary.
- def handleCallSite(callerContext: Context, pc: Int)(implicit state: ReturnValueFreshnessState): Boolean
- 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.
- 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.
- 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.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit final def logContext: LogContext
- Definition Classes
- ProjectBasedAnalysis
- 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()
- implicit final def p: SomeProject
- Definition Classes
- ProjectBasedAnalysis
- final val project: SomeProject
- Definition Classes
- ReturnValueFreshnessAnalysis → ProjectBasedAnalysis
- implicit final val propertyStore: PropertyStore
- Definition Classes
- FPCFAnalysis
- final def ps: PropertyStore
- Definition Classes
- FPCFAnalysis
- def returnResult(implicit state: ReturnValueFreshnessState): ProperPropertyComputationResult
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- 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