public class OCLVMRootEvaluationEnvironment extends VMRootEvaluationEnvironment implements IOCLVMEvaluationEnvironment
IVMEvaluationEnvironment.StepperEntry
vmEnvironmentFactory
environmentFactory, executableObject, modelManager, parent
Constructor and Description |
---|
OCLVMRootEvaluationEnvironment(IVMEnvironmentFactory vmEnvironmentFactory,
ExpressionInOCL executableObject,
IVMModelManager modelManager,
long id) |
Modifier and Type | Method and Description |
---|---|
IOCLVMEvaluationEnvironment |
createClonedEvaluationEnvironment() |
Element |
getCurrentIP() |
UnitLocation |
getCurrentLocation() |
OCLDebugCore |
getDebugCore() |
int |
getDepth() |
long |
getID() |
java.util.Map<java.lang.String,org.eclipse.emf.ecore.resource.Resource> |
getModelParameterVariables() |
NamedElement |
getOperation() |
Variable |
getPCVariable() |
OCLVMEnvironmentFactory |
getVMEnvironmentFactory() |
OCLVMRootEvaluationEnvironment |
getVMParentEvaluationEnvironment() |
OCLVMRootEvaluationEnvironment |
getVMRootEvaluationEnvironment() |
boolean |
isDeferredExecution() |
void |
processDeferredTasks() |
protected void |
saveThrownException(VMRuntimeException exception) |
Element |
setCurrentIP(Element element) |
void |
setException(VMRuntimeException exception) |
void |
throwVMException(VMRuntimeException exception) |
getDebuggableElement
createVariableFinder, getModelManager, getStepperStack
add, clear, dispose, getAdapter, getEnvironmentFactory, getExecutableObject, getParent, getValue, getValueOf, getVariables, remove, replace, toString
basicGetOptions, clearOptions, getOptions, isEnabled, putOptions, removeOption, removeOptions, setOption
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDebuggableElement, getModelManager, getStepperStack
add, clear, dispose, getEnvironmentFactory, getExecutableObject, getValueOf, getVariables, remove, replace
getAdapter
clearOptions, getOptions, getValue, isEnabled, putOptions, removeOption, removeOptions, setOption
public OCLVMRootEvaluationEnvironment(@NonNull IVMEnvironmentFactory vmEnvironmentFactory, @NonNull ExpressionInOCL executableObject, @NonNull IVMModelManager modelManager, long id)
@NonNull public IOCLVMEvaluationEnvironment createClonedEvaluationEnvironment()
createClonedEvaluationEnvironment
in interface IOCLVMEvaluationEnvironment
@NonNull public Element getCurrentIP()
getCurrentIP
in interface IVMEvaluationEnvironment
@NonNull public UnitLocation getCurrentLocation()
getCurrentLocation
in interface IVMEvaluationEnvironment
@NonNull public OCLDebugCore getDebugCore()
getDebugCore
in interface IVMEvaluationEnvironment
public int getDepth()
getDepth
in interface IVMEvaluationEnvironment
public long getID()
getID
in interface IVMEvaluationEnvironment
@NonNull public java.util.Map<java.lang.String,org.eclipse.emf.ecore.resource.Resource> getModelParameterVariables()
getModelParameterVariables
in interface IVMEvaluationEnvironment
@NonNull public NamedElement getOperation()
getOperation
in interface IVMEvaluationEnvironment
@Nullable public OCLVMRootEvaluationEnvironment getVMParentEvaluationEnvironment()
getVMParentEvaluationEnvironment
in interface IOCLVMEvaluationEnvironment
getVMParentEvaluationEnvironment
in interface IVMEvaluationEnvironment
getVMParentEvaluationEnvironment
in class VMEvaluationEnvironment
@NonNull public Variable getPCVariable()
getPCVariable
in interface IVMEvaluationEnvironment
@NonNull public OCLVMRootEvaluationEnvironment getVMRootEvaluationEnvironment()
getVMRootEvaluationEnvironment
in interface IOCLVMEvaluationEnvironment
getVMRootEvaluationEnvironment
in interface IVMEvaluationEnvironment
getVMRootEvaluationEnvironment
in class VMRootEvaluationEnvironment
@NonNull public OCLVMEnvironmentFactory getVMEnvironmentFactory()
getVMEnvironmentFactory
in interface IOCLVMEvaluationEnvironment
getVMEnvironmentFactory
in interface IVMEvaluationEnvironment
getVMEnvironmentFactory
in class VMEvaluationEnvironment
public boolean isDeferredExecution()
isDeferredExecution
in interface IVMEvaluationEnvironment
public void processDeferredTasks()
processDeferredTasks
in interface IVMEvaluationEnvironment
protected void saveThrownException(@NonNull VMRuntimeException exception)
@NonNull public Element setCurrentIP(@NonNull Element element)
setCurrentIP
in interface IVMEvaluationEnvironment
public void setException(@NonNull VMRuntimeException exception)
public void throwVMException(@NonNull VMRuntimeException exception) throws VMRuntimeException
throwVMException
in interface IVMEvaluationEnvironment
VMRuntimeException