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
Source
PerformInvocations.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PerformInvocations
  2. MethodCallsHandling
  3. MethodCallsDomain
  4. AnyRef
  5. Any
  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. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def MethodCallResult(potentialExceptions: Iterable[(PerformInvocations.this)#ExceptionValue]): (PerformInvocations.this)#MethodCallResult

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. 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]
  9. def doInvoke(method: Method, calledMethodDomain: (PerformInvocations.this)#CalledMethodDomain)(parameters: CalledMethodDomain.Locals): AIResult { val domain: calledMethodDomain.type }

    Permalink
    Attributes
    protected[this]
  10. 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]
  11. 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.

  12. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MethodCallsHandling
  17. 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
  18. def handleInstanceBasedInvoke(pc: PC, methodDescriptor: MethodDescriptor, operands: (PerformInvocations.this)#Operands): (PerformInvocations.this)#MethodCallResult

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

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

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

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

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

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

    Permalink
    Definition Classes
    PerformInvocationsMethodCallsDomain
  25. 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
  26. def invokevirtual(pc: PC, declaringClass: ReferenceType, name: String, descriptor: MethodDescriptor, operands: (PerformInvocations.this)#Operands): (PerformInvocations.this)#MethodCallResult

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  34. 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]
  35. def useExceptionsThrownByCalledMethod: Boolean

    Permalink

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

  36. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MethodCallsHandling

Inherited from MethodCallsDomain

Inherited from AnyRef

Inherited from Any

Ungrouped