Class/Object

org.opalj.tac

IntConst

Related Docs: object IntConst | package tac

Permalink

case class IntConst(pc: PC, value: Int) extends SimpleValueConst with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, SimpleValueConst, Const, ValueExpr[Nothing], Expr[Nothing], ASTNode[Nothing], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IntConst
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SimpleValueConst
  7. Const
  8. ValueExpr
  9. Expr
  10. ASTNode
  11. AnyRef
  12. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IntConst(pc: PC, value: Int)

    Permalink

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from IntConst to ArrowAssoc[IntConst] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def asArrayLength: ArrayLength[Nothing]

    Permalink
    Definition Classes
    Expr
  7. def asArrayLoad: ArrayLoad[Nothing]

    Permalink
    Definition Classes
    Expr
  8. def asBinaryExpr: BinaryExpr[Nothing]

    Permalink
    Definition Classes
    Expr
  9. def asCaughtException: CaughtException[Nothing]

    Permalink
    Definition Classes
    Expr
  10. def asClassConst: ClassConst

    Permalink
    Definition Classes
    Expr
  11. def asCompare: Compare[Nothing]

    Permalink
    Definition Classes
    Expr
  12. def asDoubleConst: DoubleConst

    Permalink
    Definition Classes
    Expr
  13. def asFloatConst: FloatConst

    Permalink
    Definition Classes
    Expr
  14. def asGetField: GetField[Nothing]

    Permalink
    Definition Classes
    Expr
  15. def asGetStatic: GetStatic

    Permalink
    Definition Classes
    Expr
  16. def asInstanceOf: InstanceOf[Nothing]

    Permalink
    Definition Classes
    Expr
  17. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  18. final def asIntConst: IntConst.this.type

    Permalink
    Definition Classes
    IntConstExpr
  19. def asInvokedynamic: Invokedynamic[Nothing]

    Permalink
    Definition Classes
    Expr
  20. def asLongConst: LongConst

    Permalink
    Definition Classes
    Expr
  21. def asMethodHandleConst: MethodHandleConst

    Permalink
    Definition Classes
    Expr
  22. def asMethodTypeConst: MethodTypeConst

    Permalink
    Definition Classes
    Expr
  23. def asNew: New

    Permalink
    Definition Classes
    Expr
  24. def asNewArray: NewArray[Nothing]

    Permalink
    Definition Classes
    Expr
  25. def asNonVirtualFunctionCall: NonVirtualFunctionCall[Nothing]

    Permalink
    Definition Classes
    Expr
  26. def asNullExpr: NullExpr

    Permalink
    Definition Classes
    Expr
  27. def asParam: Param

    Permalink
    Definition Classes
    Expr
  28. def asPrefixExpr: PrefixExpr[Nothing]

    Permalink
    Definition Classes
    Expr
  29. def asPrimitiveTypeCastExpr: PrimitiveTypecastExpr[Nothing]

    Permalink
    Definition Classes
    Expr
  30. def asStaticFunctionCall: StaticFunctionCall[Nothing]

    Permalink
    Definition Classes
    Expr
  31. def asStringConst: StringConst

    Permalink
    Definition Classes
    Expr
  32. def asVar: Nothing

    Permalink
    Definition Classes
    Expr
  33. def asVirtualFunctionCall: VirtualFunctionCall[Nothing]

    Permalink
    Definition Classes
    Expr
  34. final def astID: Int

    Permalink

    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
    IntConstASTNode
  35. final def cTpe: ComputationalType

    Permalink

    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
    IntConstExpr
  36. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def ensuring(cond: (IntConst) ⇒ Boolean, msg: ⇒ Any): IntConst

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  42. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  45. def isClassConst: Boolean

    Permalink
    Definition Classes
    Expr
  46. def isDoubleConst: Boolean

    Permalink
    Definition Classes
    Expr
  47. def isFloatConst: Boolean

    Permalink
    Definition Classes
    Expr
  48. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  49. final def isIntConst: Boolean

    Permalink
    Definition Classes
    IntConstExpr
  50. def isLongConst: Boolean

    Permalink
    Definition Classes
    Expr
  51. def isNullExpr: Boolean

    Permalink
    Definition Classes
    Expr
  52. final def isSideEffectFree: Boolean

    Permalink

    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
    ConstASTNode
    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.

  53. def isStringConst: Boolean

    Permalink
    Definition Classes
    Expr
  54. final def isValueExpression: Boolean

    Permalink

    true if this expression is a Var.

    true if this expression is a Var.

    Definition Classes
    ValueExprExpr
  55. final def isVar: Boolean

    Permalink
    Definition Classes
    ConstExpr
  56. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  59. val pc: PC

    Permalink
  60. final def subExpr(index: Int): Expr[Nothing]

    Permalink

    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
  61. final def subExprCount: Int

    Permalink

    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.

  62. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  63. def toString(): String

    Permalink
    Definition Classes
    IntConst → AnyRef → Any
  64. final def tpe: IntegerType.type

    Permalink
    Definition Classes
    IntConstConst
  65. val value: Int

    Permalink
  66. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. def [B](y: B): (IntConst, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from IntConst to ArrowAssoc[IntConst] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SimpleValueConst

Inherited from Const

Inherited from ValueExpr[Nothing]

Inherited from Expr[Nothing]

Inherited from ASTNode[Nothing]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from IntConst to any2stringadd[IntConst]

Inherited by implicit conversion StringFormat from IntConst to StringFormat[IntConst]

Inherited by implicit conversion Ensuring from IntConst to Ensuring[IntConst]

Inherited by implicit conversion ArrowAssoc from IntConst to ArrowAssoc[IntConst]

Ungrouped