Class ArrayVisitor
- java.lang.Object
-
- science.aist.gtf.verification.syntactic.visitor.AbstractVisitor<Object>
-
- science.aist.gtf.verification.syntactic.visitor.ArrayVisitor
-
- All Implemented Interfaces:
ConstraintVisitor<Object>
public class ArrayVisitor extends AbstractVisitor<Object>
A visitor for a array
- Since:
- 1.0
- Author:
- Christoph Praschl
-
-
Field Summary
-
Fields inherited from class science.aist.gtf.verification.syntactic.visitor.AbstractVisitor
visitorFactory
-
-
Constructor Summary
Constructors Constructor Description ArrayVisitor(RestrictedVisitorFactory visitorFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyVerificatorResult
visit(Object toVisit, Field fieldOfToVisitInParent, Object parent, Collection<Object> visitedObjs)
Visit method for visiting an array-
Methods inherited from class science.aist.gtf.verification.syntactic.visitor.AbstractVisitor
visit
-
-
-
-
Constructor Detail
-
ArrayVisitor
public ArrayVisitor(RestrictedVisitorFactory visitorFactory)
-
-
Method Detail
-
visit
public PropertyVerificatorResult visit(Object toVisit, Field fieldOfToVisitInParent, Object parent, Collection<Object> visitedObjs)
Visit method for visiting an array- Parameters:
toVisit
- An array which should be visitedfieldOfToVisitInParent
- the corresponding field in the parent of which toVisit contains the valueparent
- The parent object wrapping the toVisit objectvisitedObjs
- A list of already visited objects to avoid circular calls- Returns:
- A map of objects and its fields which break a constraint
-
-