public abstract class InvokeHelper extends SceneObject
prepareHeap(input) for the heap that initializes the method call
and cleanHeap( result ) on heaps that result from the execution of the abstract Method.| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
liveVariableNames
The live variables for this statement.
|
| Modifier and Type | Method and Description |
|---|---|
String |
argumentString()
separates the arguments by ,
|
abstract String |
baseValueString() |
abstract void |
cleanHeap(ProgramState programState)
Removes unused intermediates (this, params, return) and local variables
from the programState.
|
ViolationPoints |
getPotentialViolationPoints() |
boolean |
needsMaterialization(ProgramState programState) |
abstract void |
prepareHeap(ProgramState programState)
Attaches method parameters and if need be this to the programState for use
in the method.
|
void |
setLiveVariableNames(Set<String> liveVariableNames)
Specifies the live variables for this program location.
|
scenepublic abstract void prepareHeap(ProgramState programState)
Exceptions may occur in the evaluation of the arguments or the calling Value cause them.
programState - : the programState which will be the input of the called methodpublic abstract void cleanHeap(ProgramState programState)
programState - after execution of method (potentially wiht unused
intermediates and local variables)public boolean needsMaterialization(ProgramState programState)
public String argumentString()
public ViolationPoints getPotentialViolationPoints()
public void setLiveVariableNames(Set<String> liveVariableNames)
liveVariableNames - Set of live variable names.public abstract String baseValueString()
Copyright © 2019. All rights reserved.