Class ConstraintFinder

    • Field Detail

      • constraints

        private java.util.List<Constraint> constraints
      • evalConstraints

        private java.util.List<Constraint> evalConstraints
      • considerImports

        private boolean considerImports
      • excludeAssignments

        private boolean excludeAssignments
      • isEvalConstraint

        private boolean isEvalConstraint
      • handleEvals

        private boolean handleEvals
    • Constructor Detail

      • ConstraintFinder

        public ConstraintFinder​(Project project)
        This constructor will consider imported projects.
        Parameters:
        project - The project, where all constraints should be found.
      • ConstraintFinder

        public ConstraintFinder​(Project project,
                                boolean considerImports)
        Constructor for specifying whether imported projects should be considered while finding the constraints.
        Parameters:
        project - The project, where all constraints should be found.
        considerImports - true if constraints of imported projects should also be found
      • ConstraintFinder

        public ConstraintFinder​(Project project,
                                boolean considerImports,
                                boolean excludeAssignments)
        Constructor for specifying whether imported projects should be considered while finding the constraints.
        Parameters:
        project - The project, where all constraints should be found.
        considerImports - true if constraints of imported projects should also be found
        excludeAssignments - whether top-level assignments shall be excluded
      • ConstraintFinder

        public ConstraintFinder​(Project project,
                                boolean considerImports,
                                boolean excludeAssignments,
                                boolean handleEvals)
        Constructor for specifying whether imported projects should be considered while finding the constraints.
        Parameters:
        project - The project, where all constraints should be found.
        considerImports - true if constraints of imported projects should also be found
        excludeAssignments - whether top-level assignments shall be excluded
        handleEvals - whether eval constraints should be separated from all constraints.