Packages

case class StaticFunctionCall[+V <: Var[V]](pc: PC, declaringClass: ObjectType, isInterface: Boolean, name: String, descriptor: MethodDescriptor, params: Seq[Expr[V]]) extends FunctionCall[V] with Product with Serializable

Source
Expr.scala
Linear Supertypes
Serializable, Product, Equals, FunctionCall[V], Call[V], Expr[V], ASTNode[V], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StaticFunctionCall
  2. Serializable
  3. Product
  4. Equals
  5. FunctionCall
  6. Call
  7. Expr
  8. ASTNode
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StaticFunctionCall(pc: PC, declaringClass: ObjectType, isInterface: Boolean, name: String, descriptor: MethodDescriptor, params: Seq[Expr[V]])

Value Members

  1. final def allParams: Seq[Expr[V]]

    The parameters of the call (including the implicit this reference if necessary.)

    The parameters of the call (including the implicit this reference if necessary.)

    Definition Classes
    StaticFunctionCallCall
  2. def asArrayLength: ArrayLength[V]
    Definition Classes
    Expr
  3. def asArrayLoad: ArrayLoad[V]
    Definition Classes
    Expr
  4. def asBinaryExpr: BinaryExpr[V]
    Definition Classes
    Expr
  5. def asClassConst: ClassConst
    Definition Classes
    Expr
  6. def asCompare: Compare[V]
    Definition Classes
    Expr
  7. def asDoubleConst: DoubleConst
    Definition Classes
    Expr
  8. def asDynamicConst: DynamicConst
    Definition Classes
    Expr
  9. def asFieldRead: FieldRead[V]
    Definition Classes
    Expr
  10. def asFloatConst: FloatConst
    Definition Classes
    Expr
  11. final def asFunctionCall: StaticFunctionCall.this.type
    Definition Classes
    FunctionCallExpr
  12. def asGetField: GetField[V]
    Definition Classes
    Expr
  13. def asGetStatic: GetStatic
    Definition Classes
    Expr
  14. def asInstanceFunctionCall: InstanceFunctionCall[V]
    Definition Classes
    Expr
  15. def asInstanceOf: InstanceOf[V]
    Definition Classes
    Expr
  16. def asIntConst: IntConst
    Definition Classes
    Expr
  17. def asInvokedynamicFunctionCall: InvokedynamicFunctionCall[V]
    Definition Classes
    Expr
  18. def asLongConst: LongConst
    Definition Classes
    Expr
  19. def asMethodHandleConst: MethodHandleConst
    Definition Classes
    Expr
  20. def asMethodTypeConst: MethodTypeConst
    Definition Classes
    Expr
  21. def asNew: New
    Definition Classes
    Expr
  22. def asNewArray: NewArray[V]
    Definition Classes
    Expr
  23. def asNonVirtualFunctionCall: NonVirtualFunctionCall[V]
    Definition Classes
    Expr
  24. def asNullExpr: NullExpr
    Definition Classes
    Expr
  25. def asParam: Param
    Definition Classes
    Expr
  26. def asPrefixExpr: PrefixExpr[V]
    Definition Classes
    Expr
  27. def asPrimitiveTypeCastExpr: PrimitiveTypecastExpr[V]
    Definition Classes
    Expr
  28. final def asStaticFunctionCall: StaticFunctionCall.this.type
    Definition Classes
    StaticFunctionCallExpr
  29. def asStringConst: StringConst
    Definition Classes
    Expr
  30. def asVar: V
    Definition Classes
    Expr
  31. def asVirtualFunctionCall: VirtualFunctionCall[V]
    Definition Classes
    Expr
  32. 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
    StaticFunctionCallASTNode
  33. 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
    FunctionCallExpr
  34. val declaringClass: ObjectType

    The declaring class; can be an array type for all methods defined by java.lang.Object.

    The declaring class; can be an array type for all methods defined by java.lang.Object.

    Definition Classes
    StaticFunctionCallCall
  35. val descriptor: MethodDescriptor
    Definition Classes
    StaticFunctionCallCall
  36. final def forallSubExpressions[W >: V <: 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
    StaticFunctionCallExpr
  37. def hashCode(): Int
    Definition Classes
    StaticFunctionCall → AnyRef → Any
  38. def isArrayLoad: Boolean
    Definition Classes
    Expr
  39. def isClassConst: Boolean
    Definition Classes
    Expr
  40. def isCompare: Boolean
    Definition Classes
    Expr
  41. def isConst: Boolean
    Definition Classes
    Expr
  42. def isDoubleConst: Boolean
    Definition Classes
    Expr
  43. def isDynamicConst: Boolean
    Definition Classes
    Expr
  44. def isFieldRead: Boolean
    Definition Classes
    Expr
  45. def isFloatConst: Boolean
    Definition Classes
    Expr
  46. final def isFunctionCall: Boolean
    Definition Classes
    FunctionCallExpr
  47. def isGetField: Boolean
    Definition Classes
    Expr
  48. def isGetStatic: Boolean
    Definition Classes
    Expr
  49. def isIntConst: Boolean
    Definition Classes
    Expr
  50. val isInterface: Boolean

    true iff the declaring class is an interface.

    true iff the declaring class is an interface.

    Definition Classes
    StaticFunctionCallCall
  51. def isLongConst: Boolean
    Definition Classes
    Expr
  52. def isMethodHandleConst: Boolean
    Definition Classes
    Expr
  53. def isMethodTypeConst: Boolean
    Definition Classes
    Expr
  54. def isNew: Boolean
    Definition Classes
    Expr
  55. def isNewArray: Boolean
    Definition Classes
    Expr
  56. def isNullExpr: Boolean
    Definition Classes
    Expr
  57. 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
    StaticFunctionCallASTNode
    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.

  58. final def isStaticFunctionCall: Boolean
    Definition Classes
    StaticFunctionCallExpr
  59. def isStringConst: Boolean
    Definition Classes
    Expr
  60. final def isValueExpression: Boolean

    true if this expression is a Var.

    true if this expression is a Var.

    Definition Classes
    FunctionCallExpr
  61. final def isVar: Boolean
    Definition Classes
    FunctionCallExpr
  62. def isVirtualFunctionCall: Boolean
    Definition Classes
    Expr
  63. val name: String
    Definition Classes
    StaticFunctionCallCall
  64. val params: Seq[Expr[V]]

    The parameters of the call (excluding the implicit this reference.)

    The parameters of the call (excluding the implicit this reference.)

    Definition Classes
    StaticFunctionCallCall
  65. val pc: PC
  66. def productElementNames: Iterator[String]
    Definition Classes
    Product
  67. final def receiverOption: Option[Expr[V]]

    The receiver of the call if it is an instance call, None if it is a static call.

    The receiver of the call if it is an instance call, None if it is a static call.

    Definition Classes
    StaticFunctionCallCall
  68. def resolveCallTarget(callingContext: ObjectType)(implicit p: ProjectLike): Result[Method]

    Identifies the potential call target if it can be found.

    Identifies the potential call target if it can be found.

    See also

    [ProjectLike#staticCall] for further details.

  69. final def resolveCallTargets(callingContext: ObjectType)(implicit p: ProjectLike, ev: <:<[V, DUVar[ValueInformation]]): Set[Method]

    Convenience method which abstracts over all kinds of calls; not all information is always required.

    Convenience method which abstracts over all kinds of calls; not all information is always required.

    Definition Classes
    StaticFunctionCallCall
  70. final def subExpr(index: Int): Expr[V]

    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
    StaticFunctionCallExpr
  71. 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
    StaticFunctionCallExpr
    Note

    Transitive dependencies are not counted.

  72. def toCanonicalForm(implicit ev: <:<[V, DUVar[ValueInformation]]): Expr[DUVar[ValueInformation]]

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

  73. def toString(): String
    Definition Classes
    StaticFunctionCall → AnyRef → Any