Packages

c

org.opalj.br.fpcf.properties

ContextuallySideEffectFree

case class ContextuallySideEffectFree(modifiedParams: IntTrieSet) extends Purity with Product with Serializable

The respective method may modify its parameters, but otherwise it is side-effect free, i.e. it does not have side effects but its results may still be non-deterministic.

A method calling a ConteuxtuallySideEffectFree method can be SideEffectFree if the parameters of the call are confined inside that method.

Source
Purity.scala
See also

Purity for further details regarding the purity levels.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ContextuallySideEffectFree
  2. Serializable
  3. Product
  4. Equals
  5. Purity
  6. PurityPropertyMetaInformation
  7. IndividualProperty
  8. AggregatableValueProperty
  9. Property
  10. PropertyMetaInformation
  11. PropertyKind
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ContextuallySideEffectFree(modifiedParams: IntTrieSet)

Type Members

  1. final type Self = Purity
  2. type self = Purity

Value Members

  1. final def aggregatedProperty: VirtualMethodPurity
    Definition Classes
    PurityIndividualProperty
  2. final def asOrderedProperty: OrderedProperty

    Returns this if this property inherits from OrderedProperty.

    Returns this if this property inherits from OrderedProperty.

    Used, e.g., by the framework to support debugging analyses.

    Definition Classes
    Property
  3. final val flags: Int(11)
    Definition Classes
    ContextuallySideEffectFreePurity
  4. final def id: Int

    The id uniquely identifies this property's category.

    The id uniquely identifies this property's category. All property objects of the same kind have to use the same id which is guaranteed since they share the same PropertyKey

    Definition Classes
    PropertyMetaInformationPropertyKind
  5. def isCompileTimePure: Boolean
    Definition Classes
    Purity
  6. def isDeterministic: Boolean
    Definition Classes
    Purity
  7. final def isOrderedProperty: Boolean

    Returns true if this property inherits from OrderedProperty.

    Returns true if this property inherits from OrderedProperty.

    Definition Classes
    Property
  8. final def key: PropertyKey[Purity]

    The globally unique key of the Purity property.

    The globally unique key of the Purity property.

    Definition Classes
    PurityPropertyMetaInformation
  9. def meet(other: Purity): Purity

    Combines this purity value with another one to represent the progress by a purity analysis in one phase.

    Combines this purity value with another one to represent the progress by a purity analysis in one phase. Conditional as well as unconditional values are combined to the purity level that expresses a weaker purity, thereby incorporating the effect of counter-examples to a stronger purity. Thus, the result of this operation is used to represent a (potentially conditional) upper bound on the possible final result of the purity analysis that performs this operation. If one of the combined purity values is conditional and the other is not, the result will be the same as if the conditional purity value was combined with the conditional value that corresponds to the unconditional value.

    Definition Classes
    ContextuallySideEffectFreePurityAggregatableValueProperty
  10. val modifiedParams: IntTrieSet
    Definition Classes
    ContextuallySideEffectFreePurity
  11. def modifiesParameters: Boolean
    Definition Classes
    Purity
  12. def productElementNames: Iterator[String]
    Definition Classes
    Product
  13. def usesDomainSpecificActions: Boolean
    Definition Classes
    Purity
  14. def withoutContextual: Purity
    Definition Classes
    Purity