org.eclipse.m2m.qvt.oml.debug.core.vm
Class VariableFinder
java.lang.Object
org.eclipse.m2m.qvt.oml.debug.core.vm.VariableFinder
public class VariableFinder
- extends java.lang.Object
Method Summary |
void |
collectChildVars(java.lang.Object root,
java.lang.String[] parentPath,
EClassifier containerType,
java.util.List<VMVariable> result)
|
static java.lang.String |
computeDetail(URI variableURI,
UnitLocationExecutionContext frameContext)
|
static URI |
createURI(java.lang.String[] varPath)
|
static URI |
createURI(java.lang.String[] varPath,
int endIndex)
|
void |
find(java.lang.String[] objectPath,
boolean fetchChildVariables,
java.util.List<VMVariable> result)
|
static java.lang.String |
getRootVarName(URI variableURI)
|
static java.lang.String[] |
getVariablePath(URI variableURI)
|
static URI |
parseURI(java.lang.String variableURI)
|
static VMResponse |
process(VMVariableRequest request,
java.util.List<UnitLocation> stack,
UnitLocationExecutionContext frameContext)
|
static void |
setValueAndType(VMVariable variable,
java.lang.Object value,
EClassifier optDeclaredType,
org.eclipse.m2m.internal.qvt.oml.ast.env.QvtOperationalEvaluationEnv evalEnv)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariableFinder
public VariableFinder(VMFrameExecutionContext featureAccessor,
boolean isStoreValues)
computeDetail
public static java.lang.String computeDetail(URI variableURI,
UnitLocationExecutionContext frameContext)
process
public static VMResponse process(VMVariableRequest request,
java.util.List<UnitLocation> stack,
UnitLocationExecutionContext frameContext)
find
public void find(java.lang.String[] objectPath,
boolean fetchChildVariables,
java.util.List<VMVariable> result)
parseURI
public static URI parseURI(java.lang.String variableURI)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
getVariablePath
public static java.lang.String[] getVariablePath(URI variableURI)
getRootVarName
public static java.lang.String getRootVarName(URI variableURI)
createURI
public static URI createURI(java.lang.String[] varPath)
createURI
public static URI createURI(java.lang.String[] varPath,
int endIndex)
collectChildVars
public void collectChildVars(java.lang.Object root,
java.lang.String[] parentPath,
EClassifier containerType,
java.util.List<VMVariable> result)
setValueAndType
public static void setValueAndType(VMVariable variable,
java.lang.Object value,
EClassifier optDeclaredType,
org.eclipse.m2m.internal.qvt.oml.ast.env.QvtOperationalEvaluationEnv evalEnv)