public class VariableFinder extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONTAINER_VARIABLE_NAME |
Constructor and Description |
---|
VariableFinder(VMEvaluationEnvironment fEvalEnv,
boolean isStoreValues) |
Modifier and Type | Method and Description |
---|---|
void |
collectChildVars(Object root,
String[] parentPath,
String containerType,
List<VMVariableData> result) |
String |
computeDetail(URI variableURI) |
static String |
computeDetail(URI variableURI,
VMEvaluationEnvironment fEvalEnv)
Deprecated.
use non-static method
|
static URI |
createURI(String[] varPath) |
static URI |
createURI(String[] varPath,
int endIndex) |
void |
find(String[] objectPath,
boolean fetchChildVariables,
List<VMVariableData> result) |
static List<EStructuralFeature> |
getAllFeatures(EClass eClass) |
static String |
getRootVarName(URI variableURI) |
Object |
getValue(EStructuralFeature feature,
EObject target) |
static String[] |
getVariablePath(URI variableURI) |
List<VMVariableData> |
getVariables() |
static List<VMVariableData> |
getVariables(VMEvaluationEnvironment evalEnv) |
Object |
navigateProperty(EStructuralFeature property,
List<?> qualifiers,
Object target) |
static VariableFinder |
newInstance(VMEvaluationEnvironment vmEvaluationEnvironment,
boolean isStoreValues) |
static URI |
parseURI(String variableURI) |
VMResponse |
process(VMVariableRequest request,
List<UnitLocation> stack) |
static VMResponse |
process(VMVariableRequest request,
List<UnitLocation> stack,
VMEvaluationEnvironment vmEvaluationEnvironment)
Deprecated.
use non-static method
|
static void |
setValueAndType(VMVariableData variable,
Object value,
EClassifier optDeclaredType,
EvaluationEnvironment evalEnv)
Deprecated.
use non-static method
|
void |
setValueAndType(VMVariableData variable,
Object value,
String declaredTypeName) |
void |
setValueAndType(VMVariableData variable,
Object value,
Type optDeclaredType) |
static void |
setValueAndType(VMVariableData variable,
Object value,
Type optDeclaredType,
EvaluationEnvironment evalEnv)
Deprecated.
use non-static method
|
Object |
superNavigateProperty(EStructuralFeature property,
List<?> qualifiers,
Object target) |
public static final String CONTAINER_VARIABLE_NAME
public VariableFinder(VMEvaluationEnvironment fEvalEnv, boolean isStoreValues)
@Deprecated public static String computeDetail(URI variableURI, VMEvaluationEnvironment fEvalEnv)
public static URI createURI(String[] varPath)
public static URI createURI(String[] varPath, int endIndex)
public static List<EStructuralFeature> getAllFeatures(EClass eClass)
public static String getRootVarName(URI variableURI)
public static List<VMVariableData> getVariables(VMEvaluationEnvironment evalEnv)
public static String[] getVariablePath(URI variableURI)
public static VariableFinder newInstance(VMEvaluationEnvironment vmEvaluationEnvironment, boolean isStoreValues)
public static URI parseURI(String variableURI) throws IllegalArgumentException
IllegalArgumentException
@Deprecated public static VMResponse process(VMVariableRequest request, List<UnitLocation> stack, VMEvaluationEnvironment vmEvaluationEnvironment)
@Deprecated public static void setValueAndType(VMVariableData variable, Object value, Type optDeclaredType, EvaluationEnvironment evalEnv)
@Deprecated public static void setValueAndType(VMVariableData variable, Object value, EClassifier optDeclaredType, EvaluationEnvironment evalEnv)
public void collectChildVars(Object root, String[] parentPath, String containerType, List<VMVariableData> result)
public String computeDetail(URI variableURI)
public void find(String[] objectPath, boolean fetchChildVariables, List<VMVariableData> result)
public Object getValue(EStructuralFeature feature, EObject target)
public List<VMVariableData> getVariables()
public Object navigateProperty(EStructuralFeature property, List<?> qualifiers, Object target) throws IllegalArgumentException
IllegalArgumentException
public VMResponse process(VMVariableRequest request, List<UnitLocation> stack)
public void setValueAndType(VMVariableData variable, Object value, Type optDeclaredType)
public void setValueAndType(VMVariableData variable, Object value, String declaredTypeName)
public Object superNavigateProperty(EStructuralFeature property, List<?> qualifiers, Object target) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.