Class ReferenceValuesFinder
java.lang.Object
net.ssehub.easy.varModel.model.filter.ReferenceValuesFinder
Class for finding relevant
AbstractVariables matching to the data type of a given Reference.- Author:
- El-Sharkawy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<AbstractVariable> findPossibleValues(Project project, IDatatype type) static List<AbstractVariable> findPossibleValues(Project project, Reference refType) Searches inside the wholeProjectforAbstractVariables, which can be referenced byIDecisionVariables of the givenReferencetype.
-
Constructor Details
-
ReferenceValuesFinder
public ReferenceValuesFinder()
-
-
Method Details
-
findPossibleValues
Searches inside the wholeProjectforAbstractVariables, which can be referenced byIDecisionVariables of the givenReferencetype.- Parameters:
project- The project which should contain all relevant possible variable, which can be used to configure the givenReferencevariable.refType- A givenReference, for which relevant/possibleAbstractVariables should be found.- Returns:
- A list of all relevant
AbstractVariablefound in the given project with the correct data type. This list is maybe empty, but not null.
-
findPossibleValues
- Parameters:
project- The project which should contain all relevant possible variable, which can be used to configure the givenReferencevariable.type- A given type for which relevant/possibleAbstractVariables should be found.- Returns:
- A list of all relevant
AbstractVariablefound in the given project with the correct data type. This list is maybe empty, but not null.
-