Class ReferenceValuesFinder


  • public class ReferenceValuesFinder
    extends java.lang.Object
    Class for finding relevant AbstractVariables matching to the data type of a given Reference.
    Author:
    El-Sharkawy
    • Constructor Detail

      • ReferenceValuesFinder

        public ReferenceValuesFinder()
    • Method Detail

      • findPossibleValues

        public static java.util.List<AbstractVariable> findPossibleValues​(Project project,
                                                                          IDatatype type)
        Searches inside the whole Project for AbstractVariables, which are of the specified type.
        Parameters:
        project - The project which should contain all relevant possible variable, which can be used to configure the given Reference variable.
        type - A given type for which relevant/possible AbstractVariables should be found.
        Returns:
        A list of all relevant AbstractVariable found in the given project with the correct data type. This list is maybe empty, but not null.