trait MethodCallResults extends AnyRef
Trait that can be mixed in if information is needed about all returned values and the thrown exceptions. This information is, however, only available after the evaluation of a method has completed.
- Self Type
- MethodCallResults with ValuesDomain
- Source
- MethodCallResults.scala
- Alphabetic
- By Inheritance
- MethodCallResults
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def returnedNormally: Boolean
true
if the method returned due to a("void"|a|i|l|f|d)return
instruction.true
if the method returned due to a("void"|a|i|l|f|d)return
instruction.- Note
This method may only be called after the abstract interpretation of a method has completed.
- abstract def returnedValue(target: TargetDomain, callerPC: Int): Option[(target)#DomainValue]
Adapts and returns the returned value.
Adapts and returns the returned value.
- Note
This method is only defined if the method returned normally. In this case
,None
is returned if the method's return type isvoid
;Some(DomainValue)
is returned otherwise.This method may only be called after the abstract interpretation of a method has completed.
- abstract def returnedValueRemapped(callerDomain: TargetDomain, callerPC: Int)(originalOperands: (callerDomain)#Operands, passedParameters: (MethodCallResults.this)#Locals): Option[(callerDomain)#DomainValue]
Maps the returned value back to the original operand value if possible.
Maps the returned value back to the original operand value if possible.
- Note
This method is only defined if the method returned normally. In this case
,None
is returned if the method's return type isvoid
;Some(DomainValue)
is returned otherwise.This method may only be called after the abstract interpretation of a method has completed.
- abstract def thrownExceptions(target: TargetDomain, callerPC: Int): (target)#ExceptionValues
Adapts and returns the exceptions that are thrown by the called method.
Adapts and returns the exceptions that are thrown by the called method.
In general, for each type of exception there should be at most one
ExceptionValue
.- Note
This method may only be called after the abstract interpretation of a method has completed.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated