Packages

class UVar[+Value <: ValueInformation] extends DUVar[Value]

Source
DUVar.scala
Linear Supertypes
DUVar[Value], Var[DUVar[Value]], ValueExpr[DUVar[Value]], Expr[DUVar[Value]], ASTNode[DUVar[Value]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UVar
  2. DUVar
  3. Var
  4. ValueExpr
  5. Expr
  6. ASTNode
  7. AnyRef
  8. 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. def asArrayLength: ArrayLength[DUVar[Value]]
    Definition Classes
    Expr
  5. def asArrayLoad: ArrayLoad[DUVar[Value]]
    Definition Classes
    Expr
  6. def asBinaryExpr: BinaryExpr[DUVar[Value]]
    Definition Classes
    Expr
  7. def asClassConst: ClassConst
    Definition Classes
    Expr
  8. def asCompare: Compare[DUVar[Value]]
    Definition Classes
    Expr
  9. def asDoubleConst: DoubleConst
    Definition Classes
    Expr
  10. def asDynamicConst: DynamicConst
    Definition Classes
    Expr
  11. def asFieldRead: FieldRead[DUVar[Value]]
    Definition Classes
    Expr
  12. def asFloatConst: FloatConst
    Definition Classes
    Expr
  13. def asFunctionCall: FunctionCall[DUVar[Value]]
    Definition Classes
    Expr
  14. def asGetField: GetField[DUVar[Value]]
    Definition Classes
    Expr
  15. def asGetStatic: GetStatic
    Definition Classes
    Expr
  16. def asInstanceFunctionCall: InstanceFunctionCall[DUVar[Value]]
    Definition Classes
    Expr
  17. def asInstanceOf: InstanceOf[DUVar[Value]]
    Definition Classes
    Expr
  18. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  19. def asIntConst: IntConst
    Definition Classes
    Expr
  20. def asInvokedynamicFunctionCall: InvokedynamicFunctionCall[DUVar[Value]]
    Definition Classes
    Expr
  21. def asLongConst: LongConst
    Definition Classes
    Expr
  22. def asMethodHandleConst: MethodHandleConst
    Definition Classes
    Expr
  23. def asMethodTypeConst: MethodTypeConst
    Definition Classes
    Expr
  24. def asNew: New
    Definition Classes
    Expr
  25. def asNewArray: NewArray[DUVar[Value]]
    Definition Classes
    Expr
  26. def asNonVirtualFunctionCall: NonVirtualFunctionCall[DUVar[Value]]
    Definition Classes
    Expr
  27. def asNullExpr: NullExpr
    Definition Classes
    Expr
  28. def asParam: Param
    Definition Classes
    Expr
  29. def asPrefixExpr: PrefixExpr[DUVar[Value]]
    Definition Classes
    Expr
  30. def asPrimitiveTypeCastExpr: PrimitiveTypecastExpr[DUVar[Value]]
    Definition Classes
    Expr
  31. def asStaticFunctionCall: StaticFunctionCall[DUVar[Value]]
    Definition Classes
    Expr
  32. def asStringConst: StringConst
    Definition Classes
    Expr
  33. final def asVar: DUVar[Value]
    Definition Classes
    VarExpr
  34. def asVirtualFunctionCall: VirtualFunctionCall[DUVar[Value]]
    Definition Classes
    Expr
  35. final def astID: Int

    Each type of node is assigned a different id to make it easily possible to do a switch over all nodes.

    Each type of node is assigned a different id to make it easily possible to do a switch over all nodes.

    Definition Classes
    VarASTNode
  36. final def cTpe: ComputationalType

    The computational type of the underlying value.

    The computational type of the underlying value.

    I.e., an approximation of the type of the underlying value. It is the best type information directly available. The precision of the type information depends on the number of pre-/post-processing steps that are done.

    Definition Classes
    DUVarExpr
  37. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  38. def definedBy: IntTrieSet

    The indexes of the instructions which initialize this variable/ the origin of the value identifies the expression which initialized this variable.

    The indexes of the instructions which initialize this variable/ the origin of the value identifies the expression which initialized this variable.

    Defined, if and only if this is a variable usage.

    In general, the origin is positive and identifies a single, unique assignment statement. However, the origin can be negative if the value assigned to the variable is not directly created by the program, but is either created by the JVM (e.g., the DivisionByZeroException created by the JVM when an int value is divided by 0) or is just a constant.

    Definition Classes
    UVarDUVar
  39. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  40. def equals(other: Any): Boolean
    Definition Classes
    UVar → AnyRef → Any
  41. final def forallSubExpressions[W >: DUVar[Value] <: Var[W]](p: (Expr[W]) => Boolean): Boolean

    Returns true if the given predicate evaluates to true for all direct subexpressions of this expression; if the evaluation should perform a recursive decent then it needs to be done by the predicate!

    Returns true if the given predicate evaluates to true for all direct subexpressions of this expression; if the evaluation should perform a recursive decent then it needs to be done by the predicate!

    Definition Classes
    ValueExprExpr
  42. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  43. def hashCode(): Int
    Definition Classes
    UVar → AnyRef → Any
  44. def isArrayLoad: Boolean
    Definition Classes
    Expr
  45. def isClassConst: Boolean
    Definition Classes
    Expr
  46. def isCompare: Boolean
    Definition Classes
    Expr
  47. def isConst: Boolean
    Definition Classes
    Expr
  48. def isDoubleConst: Boolean
    Definition Classes
    Expr
  49. def isDynamicConst: Boolean
    Definition Classes
    Expr
  50. def isFieldRead: Boolean
    Definition Classes
    Expr
  51. def isFloatConst: Boolean
    Definition Classes
    Expr
  52. def isFunctionCall: Boolean
    Definition Classes
    Expr
  53. def isGetField: Boolean
    Definition Classes
    Expr
  54. def isGetStatic: Boolean
    Definition Classes
    Expr
  55. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  56. def isIntConst: Boolean
    Definition Classes
    Expr
  57. def isLongConst: Boolean
    Definition Classes
    Expr
  58. def isMethodHandleConst: Boolean
    Definition Classes
    Expr
  59. def isMethodTypeConst: Boolean
    Definition Classes
    Expr
  60. def isNew: Boolean
    Definition Classes
    Expr
  61. def isNewArray: Boolean
    Definition Classes
    Expr
  62. def isNullExpr: Boolean
    Definition Classes
    Expr
  63. final def isSideEffectFree: Boolean

    true if the statement/expression is GUARANTEED to have no externally observable effect if it is not executed.

    true if the statement/expression is GUARANTEED to have no externally observable effect if it is not executed. Sideeffect free instructions can be removed if the result of the evaluation of the expression/statement is not used. For those instructions, which may result in an exception, it has to be guaranteed that the exception is NEVER thrown. For example, a div instruction is sideeffect free if it is (statically) known that the divisor is always not equal to zero; otherwise, even if the result value is not used, the expression is not (potentially) side effect free. An array load is only side effect free if the array reference is non-null and if the index is valid.

    returns

    true if the expression is GUARENTEED to have no side effect other than wasting some CPU cycles if it is not executed.

    Definition Classes
    UVarASTNode
    Note

    Deeply nested expressions are not supported; i.e. an expression's sub-expressions have to be Var or Const expressions. Generally, a statements expressions have to to simple expressions too - except of the Assignment statement; in the latter case the right-expression can have references to simple expressions. Hence, in case of Assignment statements the side-effect freenes is determined by the referenced expression; in all other cases the side-effect freeness is determined directly by the statement/expression.

  64. def isStaticFunctionCall: Boolean
    Definition Classes
    Expr
  65. def isStringConst: Boolean
    Definition Classes
    Expr
  66. final def isValueExpression: Boolean

    true if this expression is a Var.

    true if this expression is a Var.

    Definition Classes
    ValueExprExpr
  67. final def isVar: Boolean
    Definition Classes
    VarExpr
  68. def isVirtualFunctionCall: Boolean
    Definition Classes
    Expr
  69. def name: String

    A human readable name of the local variable.

    A human readable name of the local variable.

    Definition Classes
    UVarVar
  70. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  71. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  72. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  73. final def subExpr(index: Int): Expr[DUVar[Value]]

    Returns the sub expression with the given index; if the index is wrong the result is undefined!

    Returns the sub expression with the given index; if the index is wrong the result is undefined!

    Definition Classes
    ValueExprExpr
  74. final def subExprCount: Int

    The number of sub expression directly referenced by this expression.

    The number of sub expression directly referenced by this expression. A unary expression has one sub expression (the operand), a binary expression has two and a method has as many as explicit and implicit (this) parameters exist.

    Definition Classes
    ValueExprExpr
    Note

    Transitive dependencies are not counted.

  75. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  76. def toCanonicalForm(implicit ev: <:<[DUVar[Value], DUVar[ValueInformation]]): UVar[ValueInformation]

    See org.opalj.value.ValueInformation.toCanonicalForm for detail.

    Definition Classes
    UVarDUVarExprASTNode
  77. def toString(): String
    Definition Classes
    UVar → AnyRef → Any
  78. def usedBy: Nothing

    The indexes of the instructions which use this variable.

    The indexes of the instructions which use this variable.

    Defined, if and only if this is an assignment statement.

    Definition Classes
    UVarDUVar
  79. val value: Value

    The information about the variable that were derived by the underlying data-flow analysis.

    The information about the variable that were derived by the underlying data-flow analysis.

    Definition Classes
    UVarDUVar
  80. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  81. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  82. 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 DUVar[Value]

Inherited from Var[DUVar[Value]]

Inherited from ValueExpr[DUVar[Value]]

Inherited from Expr[DUVar[Value]]

Inherited from ASTNode[DUVar[Value]]

Inherited from AnyRef

Inherited from Any

Ungrouped