Class FreezeBlockFinder
java.lang.Object
net.ssehub.easy.varModel.model.AbstractProjectVisitor
net.ssehub.easy.varModel.model.filter.AbstractFrozenElementsFinder
net.ssehub.easy.varModel.model.filter.FreezeBlockFinder
- All Implemented Interfaces:
ICustomDatatypeVisitor,IModelVisitor
Finds all freeze blocks in a given project.
- Author:
- El-Sharkawy
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFreezeBlockFinder(Project project, FilterType filtertype) Default constructor for this class. -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of all freeze blocks in the specified project.voidVisits a compound access statement (may occur in freeze blocks.voidvisitFreezeBlock(FreezeBlock freeze) Method for visiting a freeze block.Methods inherited from class net.ssehub.easy.varModel.model.filter.AbstractFrozenElementsFinder
visitAttribute, visitAttributeAssignment, visitComment, visitCompound, visitConstraint, visitDecisionVariableDeclaration, visitDerivedDatatype, visitEnum, visitEnumLiteral, visitOperationDefinition, visitOrderedEnum, visitPartialEvaluationBlock, visitProjectInterface, visitReference, visitSequence, visitSetMethods inherited from class net.ssehub.easy.varModel.model.AbstractProjectVisitor
clear, getFilterType, getStartingProject, visitProject, visitProjectImport
-
Field Details
-
freezeBlocks
-
-
Constructor Details
-
FreezeBlockFinder
Default constructor for this class.- Parameters:
project- The project which should be inspected.filtertype- Specifies whether imports shall be considered or not.
-
-
Method Details
-
getFreezeBlocks
Returns a list of all freeze blocks in the specified project.- Returns:
- A maybe empty list of existing freeze blocks.
-
visitFreezeBlock
Description copied from interface:IModelVisitorMethod for visiting a freeze block.- Parameters:
freeze- The freeze block which should be visited.
-
visitCompoundAccessStatement
Description copied from interface:IModelVisitorVisits a compound access statement (may occur in freeze blocks.- Parameters:
access- the access statement
-