Trait

org.opalj.ai.domain.l2

PerformInvocations

Related Doc: package l2

Permalink

trait PerformInvocations extends MethodCallsHandling

Mix in this trait if methods that are called by invokeXYZ instructions should actually be interpreted using a custom domain.

Self Type
PerformInvocations with ValuesFactory with ReferenceValuesDomain with Configuration with TheProject with TheCode
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PerformInvocations
  2. MethodCallsHandling
  3. MethodCallsDomain
  4. AnyRef
  5. 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

Type Members

  1. abstract type CalledMethodDomain <: TargetDomain with MethodCallResults

    Permalink
  2. type MethodCallResult = Computation[(PerformInvocations.this)#DomainValue, (PerformInvocations.this)#ExceptionValues]

    Permalink
    Definition Classes
    MethodCallsDomain

Abstract Value Members

  1. abstract def calledMethodAI: AI[_ >: (PerformInvocations.this)#CalledMethodDomain]

    Permalink

    The abstract interpreter that will be used for the abstract interpretation.

  2. abstract def calledMethodDomain(method: Method): (PerformInvocations.this)#CalledMethodDomain

    Permalink

    The domain that will be used to perform the abstract interpretation of the called method.

    The domain that will be used to perform the abstract interpretation of the called method.

    In general, explicit support is required to identify recursive calls if the domain also follows method invocations,

    Attributes
    protected[this]
  3. abstract def invokedynamic(pc: PC, bootstrapMethod: BootstrapMethod, name: String, methodDescriptor: MethodDescriptor, operands: (PerformInvocations.this)#Operands): (PerformInvocations.this)#MethodCallResult

    Permalink
    Definition Classes
    MethodCallsDomain
  4. abstract def shouldInvocationBePerformed(method: Method): Boolean

    Permalink

    Returns true if the given method should be invoked.

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from PerformInvocations to ArrowAssoc[PerformInvocations] 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 MethodCallResult(potentialExceptions: Iterable[(PerformInvocations.this)#ExceptionValue]): (PerformInvocations.this)#MethodCallResult

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  7. def MethodCallResult(returnValue: (PerformInvocations.this)#DomainValue, exceptions: Iterable[(PerformInvocations.this)#ExceptionValue]): (PerformInvocations.this)#MethodCallResult

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def doInvoke(pc: PC, method: Method, operands: (PerformInvocations.this)#Operands, fallback: () ⇒ (PerformInvocations.this)#MethodCallResult): (PerformInvocations.this)#MethodCallResult

    Permalink

    Performs the invocation of the given method using the given operands.

    Performs the invocation of the given method using the given operands.

    Attributes
    protected[this]
  11. def doInvoke(method: Method, calledMethodDomain: (PerformInvocations.this)#CalledMethodDomain)(parameters: CalledMethodDomain.Locals): AIResult { val domain: calledMethodDomain.type }

    Permalink
    Attributes
    protected[this]
  12. def doInvokeNonVirtual(pc: PC, declaringClass: ObjectType, isInterface: Boolean, name: String, descriptor: MethodDescriptor, operands: (PerformInvocations.this)#Operands, fallback: () ⇒ (PerformInvocations.this)#MethodCallResult): (PerformInvocations.this)#MethodCallResult

    Permalink
    Attributes
    protected[this]
  13. def doInvokeVirtual(pc: PC, declaringClass: ReferenceType, isInterface: Boolean, name: String, descriptor: MethodDescriptor, operands: (PerformInvocations.this)#Operands, fallback: () ⇒ (PerformInvocations.this)#MethodCallResult): (PerformInvocations.this)#MethodCallResult

    Permalink

    The default implementation only supports the case where we can precisely resolve the target.

  14. def ensuring(cond: (PerformInvocations) ⇒ Boolean, msg: ⇒ Any): PerformInvocations

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def getPotentialExceptions(pc: PC): List[(PerformInvocations.this)#ExceptionValue]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  24. def handleInstanceBasedInvoke(pc: PC, methodDescriptor: MethodDescriptor, targetMethods: Set[Method], receiverIsNull: Answer, operands: (PerformInvocations.this)#Operands): (PerformInvocations.this)#MethodCallResult

    Permalink

    methodDescriptor

    The method descriptor as specified by the invoke instruction. In case of the invocation of a signature polymorphic method using org.opalj.br.instructions.INVOKEVIRTUAL the descriptor of the invoked method may differ from the descriptor used by the method. Nevertheless, the MethodCallResult has to satisfy the requirements of the caller. In particular regarding the return type.

    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  25. def handleInstanceBasedInvoke(pc: PC, methodDescriptor: MethodDescriptor, operands: (PerformInvocations.this)#Operands): (PerformInvocations.this)#MethodCallResult

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  26. def handleInstanceBasedInvoke(pc: PC, methodDescriptor: MethodDescriptor, receiverIsNull: Answer): (PerformInvocations.this)#MethodCallResult

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  27. def handleInvoke(pc: PC, targetMethod: Method, operands: (PerformInvocations.this)#Operands): (PerformInvocations.this)#MethodCallResult

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  28. def handleInvoke(pc: PC, methodDescriptor: MethodDescriptor): (PerformInvocations.this)#MethodCallResult

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  29. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  30. def invokeinterface(pc: PC, declaringClass: ObjectType, name: String, descriptor: MethodDescriptor, operands: (PerformInvocations.this)#Operands): (PerformInvocations.this)#MethodCallResult

    Permalink
    Definition Classes
    PerformInvocationsMethodCallsDomain
  31. def invokespecial(pc: PC, declaringClass: ObjectType, isInterface: Boolean, name: String, descriptor: MethodDescriptor, operands: (PerformInvocations.this)#Operands): (PerformInvocations.this)#MethodCallResult

    Permalink
    Definition Classes
    PerformInvocationsMethodCallsDomain
  32. def invokestatic(pc: PC, declaringClass: ObjectType, isInterface: Boolean, name: String, descriptor: MethodDescriptor, operands: (PerformInvocations.this)#Operands): (PerformInvocations.this)#MethodCallResult

    Permalink

    For those invokestatic calls for which we have no concrete method (e.g., the respective class file was never loaded or the method is native) or if we have a recursive invocation, the super implementation is called.

    For those invokestatic calls for which we have no concrete method (e.g., the respective class file was never loaded or the method is native) or if we have a recursive invocation, the super implementation is called.

    Definition Classes
    PerformInvocationsMethodCallsDomain
  33. def invokevirtual(pc: PC, declaringClass: ReferenceType, name: String, descriptor: MethodDescriptor, operands: (PerformInvocations.this)#Operands): (PerformInvocations.this)#MethodCallResult

    Permalink
    Definition Classes
    PerformInvocationsMethodCallsDomain
  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def testAndDoInvoke(pc: PC, method: Method, operands: (PerformInvocations.this)#Operands, fallback: () ⇒ (PerformInvocations.this)#MethodCallResult): (PerformInvocations.this)#MethodCallResult

    Permalink
    Attributes
    protected[this]
  40. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  41. def transformResult(callerPC: PC, calledMethod: Method, originalOperands: (PerformInvocations.this)#Operands, calledMethodDomain: (PerformInvocations.this)#CalledMethodDomain)(passedParameters: CalledMethodDomain.Locals, result: AIResult { val domain: calledMethodDomain.type }): (PerformInvocations.this)#MethodCallResult

    Permalink

    Converts the results (DomainValues) of the evaluation of the called method into the calling domain.

    Converts the results (DomainValues) of the evaluation of the called method into the calling domain.

    If the returned value is one of the parameters (determined using reference identity), then the parameter is mapped back to the original operand.

    Attributes
    protected[this]
  42. def useExceptionsThrownByCalledMethod: Boolean

    Permalink

    If true the exceptions thrown by the called method are will be used during the evaluation of the calling method.

  43. final def wait(): Unit

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

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

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

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

Inherited from MethodCallsHandling

Inherited from MethodCallsDomain

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped