Class

org.opalj.ai.domain.l1.ArrayValues

InitializedArrayValue

Related Doc: package ArrayValues

Permalink

class InitializedArrayValue extends (ArrayValues.this)#ArrayValue

Represents some (multi-dimensional) array where the (initialized) dimensions have the given size.

Attributes
protected
Self Type
(ArrayValues.this)#DomainInitializedArrayValue
Linear Supertypes
(ArrayValues.this)#ArrayValue, (ArrayValues.this)#NonNullSingleOriginSReferenceValue, (ArrayValues.this)#NonNullSingleOriginReferenceValue, (ArrayValues.this)#SingleOriginReferenceValue, (ArrayValues.this)#SingleOriginValue, (ArrayValues.this)#ValueWithOriginInformation, (ArrayValues.this)#ReferenceValue, (ArrayValues.this)#ArrayValue, (ArrayValues.this)#SReferenceValue[ArrayType], (ArrayValues.this)#ArrayValue, (ArrayValues.this)#ReferenceValue, (ArrayValues.this)#ArrayAbstraction, IsReferenceValue, IsAReferenceValue, TypeInformation, (ArrayValues.this)#Value, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InitializedArrayValue
  2. ArrayValue
  3. NonNullSingleOriginSReferenceValue
  4. NonNullSingleOriginReferenceValue
  5. SingleOriginReferenceValue
  6. SingleOriginValue
  7. ValueWithOriginInformation
  8. ReferenceValue
  9. ArrayValue
  10. SReferenceValue
  11. ArrayValue
  12. ReferenceValue
  13. ArrayAbstraction
  14. IsReferenceValue
  15. IsAReferenceValue
  16. TypeInformation
  17. Value
  18. AnyRef
  19. Any
Implicitly
  1. by orderingToOrdered
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InitializedArrayValue(origin: ValueOrigin, theType: ArrayType, length: Int, t: (ArrayValues.this)#Timestamp)

    Permalink
  2. new InitializedArrayValue(origin: ValueOrigin, theType: ArrayType, lengths: Chain[Int], t: (ArrayValues.this)#Timestamp)

    Permalink

    lengths

    The list of the sizes of each initialized dimension. Currently, at most two dimensions are supported.

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from (ArrayValues.this)#InitializedArrayValue to ArrowAssoc[(ArrayValues.this)#InitializedArrayValue] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def <(that: (ArrayValues.this)#InitializedArrayValue): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from (ArrayValues.this)#InitializedArrayValue to Ordered[(ArrayValues.this)#InitializedArrayValue] performed by method orderingToOrdered in scala.math.Ordered. This conversion will take place only if an implicit value of type Ordering[(ArrayValues.this)#InitializedArrayValue] is in scope.
    Definition Classes
    Ordered
  6. def <=(that: (ArrayValues.this)#InitializedArrayValue): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from (ArrayValues.this)#InitializedArrayValue to Ordered[(ArrayValues.this)#InitializedArrayValue] performed by method orderingToOrdered in scala.math.Ordered. This conversion will take place only if an implicit value of type Ordering[(ArrayValues.this)#InitializedArrayValue] is in scope.
    Definition Classes
    Ordered
  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def >(that: (ArrayValues.this)#InitializedArrayValue): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from (ArrayValues.this)#InitializedArrayValue to Ordered[(ArrayValues.this)#InitializedArrayValue] performed by method orderingToOrdered in scala.math.Ordered. This conversion will take place only if an implicit value of type Ordering[(ArrayValues.this)#InitializedArrayValue] is in scope.
    Definition Classes
    Ordered
  9. def >=(that: (ArrayValues.this)#InitializedArrayValue): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from (ArrayValues.this)#InitializedArrayValue to Ordered[(ArrayValues.this)#InitializedArrayValue] performed by method orderingToOrdered in scala.math.Ordered. This conversion will take place only if an implicit value of type Ordering[(ArrayValues.this)#InitializedArrayValue] is in scope.
    Definition Classes
    Ordered
  10. def abstractsOver(other: (ArrayValues.this)#DomainValue): Boolean

    Permalink

    Returns true iff the abstract state represented by this value abstracts over the state of the given value.

    Returns true iff the abstract state represented by this value abstracts over the state of the given value. In other words if every possible runtime value represented by the given value is also represented by this value.

    The abstract state generally encompasses every information that would be considered during a join of this value and the other value and that could lead to a StructuralUpdate.

    This method is reflexive, I.e., every value abstracts over itself.

    TheIllegalValue only abstracts over itself.

    Implementation

    The default implementation relies on this domain value's join method.

    Overriding this method is, hence, primarily meaningful for performance reasons.

    Definition Classes
    InitializedArrayValueArrayValueArrayValueValue
    See also

    isMorePreciseThan

  11. def adapt(target: TargetDomain, vo: ValueOrigin): (target)#DomainValue

    Permalink

    Adapts this value to the given domain (default: throws a domain exception that adaptation is not supported).

    Adapts this value to the given domain (default: throws a domain exception that adaptation is not supported). This method needs to be overridden by concrete Value classes to support the adaptation for a specific domain.

    Supporting the adapt method is primarily necessary when you want to analyze a method that is called by the currently analyzed method and you need to adapt this domain's values (the actual parameters of the method) to the domain used for analyzing the called method.

    Additionally, the adapt method is OPAL's main mechanism to enable dynamic domain-adaptation. I.e., to make it possible to change the abstract domain at runtime if the analysis time takes too long using a (more) precise domain.

    Definition Classes
    InitializedArrayValueArrayValueArrayValueValue
    Note

    The abstract interpretation framework does not use/call this method. This method is solely predefined to facilitate the development of project-wide analyses.

  12. final def asDomainValue(implicit targetDomain: Domain): Domain.DomainReferenceValue

    Permalink

    Returns this reference value as a DomainValue of its original domain.

    Returns this reference value as a DomainValue of its original domain.

    Definition Classes
    ReferenceValueIsAReferenceValue
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. final def asIsAReferenceValue: InitializedArrayValue.this.type

    Permalink
    Definition Classes
    IsAReferenceValue
  15. def canEqual(other: (ArrayValues.this)#ArrayValue): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    InitializedArrayValueArrayValue
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def compare(that: (ArrayValues.this)#InitializedArrayValue): Int

    Permalink
    Implicit information
    This member is added by an implicit conversion from (ArrayValues.this)#InitializedArrayValue to Ordered[(ArrayValues.this)#InitializedArrayValue] performed by method orderingToOrdered in scala.math.Ordered. This conversion will take place only if an implicit value of type Ordering[(ArrayValues.this)#InitializedArrayValue] is in scope.
    Definition Classes
    Ordered
  18. def compareTo(that: (ArrayValues.this)#InitializedArrayValue): Int

    Permalink
    Implicit information
    This member is added by an implicit conversion from (ArrayValues.this)#InitializedArrayValue to Ordered[(ArrayValues.this)#InitializedArrayValue] performed by method orderingToOrdered in scala.math.Ordered. This conversion will take place only if an implicit value of type Ordering[(ArrayValues.this)#InitializedArrayValue] is in scope.
    Definition Classes
    Ordered → Comparable
  19. final def computationalType: ComputationalType

    Permalink

    Returns ComputationalTypeReference.

    Returns ComputationalTypeReference.

    Definition Classes
    ReferenceValueValue
  20. final def doGetLength(pc: PC): (ArrayValues.this)#DomainValue

    Permalink
    Definition Classes
    ArrayValue
  21. def doJoin(joinPC: PC, other: (ArrayValues.this)#DomainValue): Update[(ArrayValues.this)#DomainValue]

    Permalink

    Joins this value and the given value.

    Joins this value and the given value.

    Join is called whenever an instruction is evaluated more than once and, hence, the values found on the paths need to be joined. This method is, however, only called if the two values are two different objects ((this ne value) === true), but both values have the same computational type.

    This basically implements the join operator of complete lattices.

    Example

    For example, joining a DomainValue that represents the integer value 0 with a DomainValue that represents the integer value 1 may return a new DomainValue that precisely captures the range [0..1] or that captures all positive integer values or just some integer value.

    Contract

    this value is always the value that was previously used to perform subsequent computations/analyses. Hence, if this value subsumes the given value, the result has to be either NoUpdate or a MetaInformationUpdate. In case that the given value subsumes this value, the result has to be a StructuralUpdate with the given value as the new value. Hence, this join operation is not commutative. If a new (more abstract) abstract value is created that represents both values the result always has to be a StructuralUpdate. If the result is a StructuralUpdate the framework will continue with the interpretation.

    The termination of the abstract interpretation directly depends on the fact that at some point all (abstract) values are fixed and don't change anymore. Hence, it is important that the type of the update is only a org.opalj.ai.StructuralUpdate if the value has changed in a way relevant for future computations/analyses involving this value. In other words, when two values are joined it has to be ensured that no fall back to a previous value occurs. E.g., if you join the existing integer value 0 and the given value 1 and the result would be 1, then it must be ensured that a subsequent join with the value 0 will not result in the value 0 again.

    Conceptually, the join of an object with itself has to return the object itself. Note, that this is a conceptual requirement as such a call (this.doJoin(..,this)) will not be performed by the abstract interpretation framework; this case is handled by the join method. However, if the join object is also used by the implementation of the domain itself, it may be necessary to explicitly handle self-joins.

    Performance

    In general, the domain should try to minimize the number of objects that it uses to represent values. That is, two values that are conceptually equal should – whenever possible – use only one object. This has a significant impact on functions such as join.

    Attributes
    protected
    Definition Classes
    SingleOriginReferenceValueValue
  22. def doJoinWithMultipleReferenceValues(pc: PC, other: (ArrayValues.this)#DomainMultipleReferenceValues): StructuralUpdate[(ArrayValues.this)#DomainMultipleReferenceValues]

    Permalink
    Attributes
    protected
    Definition Classes
    SingleOriginReferenceValue
  23. def doJoinWithNonNullValueWithSameOrigin(joinPC: PC, other: (ArrayValues.this)#DomainSingleOriginReferenceValue): Update[(ArrayValues.this)#DomainSingleOriginReferenceValue]

    Permalink
  24. final def doJoinWithNullValueWithSameOrigin(joinPC: PC, that: (ArrayValues.this)#DomainNullValue): Update[(ArrayValues.this)#DomainSingleOriginReferenceValue]

    Permalink
    Attributes
    protected
    Definition Classes
    SingleOriginReferenceValue
  25. def doLoad(pc: PC, index: (ArrayValues.this)#DomainValue, potentialExceptions: (ArrayValues.this)#ExceptionValues): (ArrayValues.this)#ArrayLoadResult

    Permalink

    Extends super.doLoad by returning an initialized array object value that reflects the size of the array.

    Extends super.doLoad by returning an initialized array object value that reflects the size of the array.

    Definition Classes
    InitializedArrayValueArrayValueArrayValue
    Note

    The returned array value always gets a new timestamp since the array field may have been updated. (It would be possible to use this array's timestamp if stores of (sub-)arrays with a different timestamp would lead to an update of the timestamp of this array.)

  26. def doPeformJoinWithNonNullValueWithSameOrigin(that: (ArrayValues.this)#DomainSingleOriginReferenceValue, newT: (ArrayValues.this)#Timestamp): (ArrayValues.this)#DomainSingleOriginReferenceValue

    Permalink
  27. final def doPropagateRefinement(refinements: (ArrayValues.this)#Refinements, operands: (ArrayValues.this)#Operands, locals: (ArrayValues.this)#Locals): ((ArrayValues.this)#Operands, (ArrayValues.this)#Locals)

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ReferenceValue
  28. def doRefineIsNull(isNull: Answer): (ArrayValues.this)#DomainSingleOriginReferenceValue

    Permalink
  29. def doRefineUpperTypeBound(supertype: ReferenceType): (ArrayValues.this)#DomainSingleOriginReferenceValue

    Permalink
    Definition Classes
    ArrayValueSingleOriginReferenceValue
  30. def doRefineUpperTypeBound(supertypes: UIDSet[_ <: ReferenceType]): (ArrayValues.this)#DomainSingleOriginReferenceValue

    Permalink
    Definition Classes
    SingleOriginReferenceValue
  31. def doStore(pc: PC, value: (ArrayValues.this)#DomainValue, index: (ArrayValues.this)#DomainValue, potentialExceptions: (ArrayValues.this)#ExceptionValues): (ArrayValues.this)#ArrayStoreResult

    Permalink

    Called by the store method if the value is potentially assignable and if the index is potentially valid.

    Called by the store method if the value is potentially assignable and if the index is potentially valid.

    Definition Classes
    InitializedArrayValueArrayValueArrayValue
  32. def ensuring(cond: ((ArrayValues.this)#InitializedArrayValue) ⇒ Boolean, msg: ⇒ Any): (ArrayValues.this)#InitializedArrayValue

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  37. def equals(other: Any): Boolean

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from (ArrayValues.this)#InitializedArrayValue to StringFormat[(ArrayValues.this)#InitializedArrayValue] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  40. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    InitializedArrayValueArrayValue → AnyRef → Any
  42. def isAssignable(value: (ArrayValues.this)#DomainValue): Answer

    Permalink

    Returns Yes if we can statically determine that the given value can be stored in the array represented by this ArrayValue.

    Returns Yes if we can statically determine that the given value can be stored in the array represented by this ArrayValue.

    Definition Classes
    ArrayValueArrayValue
  43. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  44. def isMorePreciseThan(other: (ArrayValues.this)#DomainValue): Boolean

    Permalink

    Returns true iff the abstract state represented by this value is striclty more precise than the state of the given value.

    Returns true iff the abstract state represented by this value is striclty more precise than the state of the given value. In other words if every possible runtime value represented by this value is also represented by the given value, but both are not equal; in other words, this method is irreflexive.

    The considered abstract state generally encompasses every information that would be considered during a join of this value and the other value and that could lead to a StructuralUpdate.

    other

    Another DomainValue with the same computational type as this value. (The IllegalValue has no computational type and, hence, a comparison with an IllegalValue is not well defined.)

    Definition Classes
    Value
    Note

    It is recommended to overwrite this method for performance reasons, as the default implementation relies on join.

    See also

    abstractsOver

  45. val isNull: Answer

    Permalink

    If Yes the value is known to always be null at runtime.

    If Yes the value is known to always be null at runtime. In this case the upper bound is (has to be) empty. If the answer is Unknown then the analysis was not able to statically determine whether the value is null or is not null. In this case the upper bound is expected to be non-empty. If the answer is No then the value is statically known not to be null. In this case, the upper bound may precisely identify the runtime type or still just identify an upper bound.

    This default implementation always returns Unknown; this is a sound over-approximation.

    returns

    Unknown.

    Definition Classes
    ArrayValueIsAReferenceValue
    Note

    This method is expected to be overridden by subtypes.

  46. val isPrecise: Boolean

    Permalink

    Returns true if the type information is precise.

    Returns true if the type information is precise. I.e., the type returned by upperTypeBound precisely models the runtime type of the value. If, isPrecise returns true, the type of this value can generally be assumed to represent a class type (not an interface type) or an array type. However, this domain also supports the case that isPrecise returns true even though the associated type identifies an interface type or an abstract class type. The later case may be interesting in the context of classes that are generated at run time.

    This default implementation always returns false.

    returns

    false

    Definition Classes
    ArrayValueReferenceValueIsAReferenceValue
    Note

    This method is expected to be overridden by subtypes.

    ,

    isPrecise is always true if this value is known to be null.

  47. final def isPrimitiveValue: Boolean

    Permalink
    Definition Classes
    IsReferenceValueTypeInformation
  48. final def isReferenceValue: Boolean

    Permalink
    Definition Classes
    IsReferenceValueTypeInformation
  49. def isValueSubtypeOf(supertype: ReferenceType): Answer

    Permalink

    Tests if the type of this value is potentially a subtype of the specified reference type under the assumption that this value is not null.

    Tests if the type of this value is potentially a subtype of the specified reference type under the assumption that this value is not null. This test takes the precision of the type information into account. That is, if the currently available type information is not precise and the given type has a subtype that is always a subtype of the current upper type bound, then Unknown is returned. Given that it may be computationally intensive to determine whether two types have a common subtype it may be better to just return Unknown in case that this type and the given type are not in a direct inheritance relationship.

    Basically, this method implements the same semantics as the ClassHierarchy's isSubtypeOf method, but it additionally checks if the type of this value could be a subtype of the given supertype. I.e., if this value's type identifies a supertype of the given supertype and that type is not known to be precise, the answer is Unknown.

    For example, assume that the type of this reference value is java.util.Collection and we know/have to assume that this is only an upper bound. In this case an answer is No if and only if it is impossible that the runtime type is a subtype of the given supertype. This condition holds, for example, for java.io.File which is not a subclass of java.util.Collection and which does not have any further subclasses (in the JDK). I.e., the classes java.io.File and java.util.Collection are not in an inheritance relationship. However, if the specified supertype would be java.util.List the answer would be unknown.

    returns

    This default implementation always returns Unknown.

    Definition Classes
    ArrayValueIsAReferenceValue
    Note

    This method is expected to be overridden by subtypes.

    ,

    The function isValueSubtypeOf is not defined if isNull returns Yes; if isNull is Unknown then the result is given under the assumption that the value is not null at runtime. In other words, if this value represents null this method is not supported.

  50. def join(pc: PC, that: (ArrayValues.this)#DomainValue): Update[(ArrayValues.this)#DomainValue]

    Permalink

    Checks that the given value and this value are compatible with regard to its computational type and – if so – calls doJoin.

    Checks that the given value and this value are compatible with regard to its computational type and – if so – calls doJoin.

    See doJoin(PC,DomainValue) for details.

    pc

    The program counter of the instruction where the paths converge.

    that

    The "new" domain value with which this domain value should be joined. The caller has to ensure that the given value and this value are guaranteed to be two different objects.

    returns

    MetaInformationUpdateIllegalValue or the result of calling doJoin.

    Definition Classes
    Value
    Note

    It is in general not recommended/needed to override this method.

  51. def length: Some[Int]

    Permalink

    The length of the first dimension of this multi-dimensional array.

    The length of the first dimension of this multi-dimensional array.

    Definition Classes
    InitializedArrayValueArrayValue
  52. def length(pc: PC): Computation[(ArrayValues.this)#DomainValue, (ArrayValues.this)#ExceptionValue]

    Permalink
    Definition Classes
    ArrayValueArrayAbstraction
  53. val lengths: Chain[Int]

    Permalink

    The list of the sizes of each initialized dimension.

    The list of the sizes of each initialized dimension. Currently, at most two dimensions are supported.

  54. def load(pc: PC, index: (ArrayValues.this)#DomainValue): (ArrayValues.this)#ArrayLoadResult

    Permalink

    Definition Classes
    ArrayValueArrayAbstraction
    Note

    It is in general not necessary to override this method. If you need some special handling if a value is loaded from an array, override the method doLoad.

  55. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  58. val origin: ValueOrigin

    Permalink
    Definition Classes
    ArrayValueSingleOriginValue
  59. final def origins: Iterable[ValueOrigin]

    Permalink
  60. final def propagateRefinement(oldValue: (ArrayValues.this)#AReferenceValue, newValue: (ArrayValues.this)#AReferenceValue, operands: (ArrayValues.this)#Operands, locals: (ArrayValues.this)#Locals): ((ArrayValues.this)#Operands, (ArrayValues.this)#Locals)

    Permalink

    Propagate some refinement of the value's properties.

    Propagate some refinement of the value's properties.

    Attributes
    protected[this]
    Definition Classes
    ReferenceValue
  61. final def referenceValues: Iterable[IsAReferenceValue]

    Permalink
    Definition Classes
    SReferenceValue
  62. def refineIf(refinements: (ArrayValues.this)#Refinements): Boolean

    Permalink

    Returns true - and updates the refinements map - if this value was refined because it depended on a value that was already refined.

    Returns true - and updates the refinements map - if this value was refined because it depended on a value that was already refined.

    returns

    true if a refinement was added to the refinements map.

    Attributes
    protected
    Definition Classes
    SingleOriginReferenceValueReferenceValue
    Note

    The refinements map must not contain this value as a key. The template method doPropagateRefinement already applies all standard refinements.

  63. final def refineIsNull(pc: PC, isNull: Answer, operands: (ArrayValues.this)#Operands, locals: (ArrayValues.this)#Locals): ((ArrayValues.this)#Operands, (ArrayValues.this)#Locals)

    Permalink

    Refines this value's isNull property.

    Refines this value's isNull property.

    Precondition

    This method is only defined if a previous isNull test returned Unknown and we are now on the branch where we know that the value is now null or is not null.

    pc

    The program counter of the instruction that was the reason for the refinement.

    isNull

    This value's new null-ness property. isNull either has to be Yes or No. The refinement to Unknown neither makes sense nor is it supported.

    returns

    The updated operand stack and register values.

    Definition Classes
    SingleOriginReferenceValueReferenceValue
  64. final def refineUpperTypeBound(pc: PC, supertype: ReferenceType, operands: (ArrayValues.this)#Operands, locals: (ArrayValues.this)#Locals): ((ArrayValues.this)#Operands, (ArrayValues.this)#Locals)

    Permalink

    Refines the upper bound of this value's type to the given supertype.

    Refines the upper bound of this value's type to the given supertype.

    Precondition

    This method is only to be called if a previous "subtype of" test (this.isValueSubtypeOf(supertype)) returned Unknown and we are now on the branch where the value has to be of the respective type. Hence, this method only handles the case where supertype is more strict than this type's upper type bound.

    returns

    The updated operand stack and register values.

    Definition Classes
    SingleOriginReferenceValueReferenceValue
  65. def store(pc: PC, value: (ArrayValues.this)#DomainValue, index: (ArrayValues.this)#DomainValue): (ArrayValues.this)#ArrayStoreResult

    Permalink

    Definition Classes
    ArrayValueArrayAbstraction
    Note

    It is in general not necessary to override this method. If you need some special handling if a value is stored in an array, override the method doStore.

  66. final def summarize(pc: PC): InitializedArrayValue.this.type

    Permalink
    Definition Classes
    SReferenceValue
  67. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  68. val t: (ArrayValues.this)#Timestamp

    Permalink

    Returns the timestamp of this object.

    Returns the timestamp of this object. I.e., an approximation of the point in time at which this value was created.

    Definition Classes
    ArrayValueReferenceValue
  69. val theUpperTypeBound: ArrayType

    Permalink

    The upper type bound of this array, which is necessarily precise if the element type of the array is a base type (primitive type).

    The upper type bound of this array, which is necessarily precise if the element type of the array is a base type (primitive type).

    Definition Classes
    ArrayValueSReferenceValue
  70. def toString(): String

    Permalink
    Definition Classes
    InitializedArrayValueArrayValueSReferenceValue → AnyRef → Any
  71. def toString(upperTypeBound: String): String

    Permalink
  72. final def unknown: Boolean

    Permalink

    Returns true if no type information is available.

    Returns true if no type information is available.

    Definition Classes
    IsReferenceValueTypeInformation
  73. final def update(origin: ValueOrigin = this.origin, isNull: Answer = this.isNull): (ArrayValues.this)#DomainSingleOriginReferenceValue

    Permalink

    Updates the origin and/or isNull property; keeps the timestamp.

    Updates the origin and/or isNull property; keeps the timestamp.

    Definition Classes
    SingleOriginReferenceValue
  74. def updateT(t: (ArrayValues.this)#Timestamp, origin: ValueOrigin, isNull: Answer): (ArrayValues.this)#DomainArrayValue

    Permalink

    Creates a new instance of this object where the timestamp is set to the given timestamp t.

    Creates a new instance of this object where the timestamp is set to the given timestamp t. Optionally, it is also possible to update the origin and isNull information.

    Definition Classes
    InitializedArrayValueArrayValueSingleOriginReferenceValue
    Example:
    1. A typical usage:

      val v : SingleOriginReferenceValue = ???
      val newV = v.updateT(nextT(), isNull = Unknown)
  75. final def upperTypeBound: UpperTypeBound

    Permalink
    Definition Classes
    SReferenceValue
  76. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  79. def [B](y: B): ((ArrayValues.this)#InitializedArrayValue, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from (ArrayValues.this)#InitializedArrayValue to ArrowAssoc[(ArrayValues.this)#InitializedArrayValue] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from (ArrayValues.this)#ArrayValue

Inherited from (ArrayValues.this)#NonNullSingleOriginSReferenceValue

Inherited from (ArrayValues.this)#NonNullSingleOriginReferenceValue

Inherited from (ArrayValues.this)#SingleOriginReferenceValue

Inherited from (ArrayValues.this)#SingleOriginValue

Inherited from (ArrayValues.this)#ValueWithOriginInformation

Inherited from (ArrayValues.this)#ReferenceValue

Inherited from (ArrayValues.this)#ArrayValue

Inherited from (ArrayValues.this)#SReferenceValue[ArrayType]

Inherited from (ArrayValues.this)#ArrayValue

Inherited from (ArrayValues.this)#ReferenceValue

Inherited from (ArrayValues.this)#ArrayAbstraction

Inherited from IsReferenceValue

Inherited from IsAReferenceValue

Inherited from TypeInformation

Inherited from (ArrayValues.this)#Value

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion orderingToOrdered from (ArrayValues.this)#InitializedArrayValue to Ordered[(ArrayValues.this)#InitializedArrayValue]

Inherited by implicit conversion any2stringadd from (ArrayValues.this)#InitializedArrayValue to any2stringadd[(ArrayValues.this)#InitializedArrayValue]

Inherited by implicit conversion StringFormat from (ArrayValues.this)#InitializedArrayValue to StringFormat[(ArrayValues.this)#InitializedArrayValue]

Inherited by implicit conversion Ensuring from (ArrayValues.this)#InitializedArrayValue to Ensuring[(ArrayValues.this)#InitializedArrayValue]

Inherited by implicit conversion ArrowAssoc from (ArrayValues.this)#InitializedArrayValue to ArrowAssoc[(ArrayValues.this)#InitializedArrayValue]

Ungrouped