public class DecompositionRuleApplicationCounterVisitor extends Object implements DecompositionRuleApplicationVisitor
DecompositionRuleApplicationVisitor wrapper for a given
DecompositionRuleApplicationVisitor that additionally records the
number of invocations of the methods using the given
DecompositionRuleApplicationCounter.| Constructor and Description |
|---|
DecompositionRuleApplicationCounterVisitor(DecompositionRuleApplicationVisitor visitor,
DecompositionRuleApplicationCounter counter)
Creates a new
DecompositionRuleApplicationVisitor that executes
the corresponding methods of the given
DecompositionRuleApplicationVisitor and counts the number of
invocations of the corresponding methods using the given
DecompositionRuleApplicationCounter. |
| Modifier and Type | Method and Description |
|---|---|
void |
visit(IndexedClass ice,
Context context) |
void |
visit(IndexedDataHasValue ice,
Context context) |
void |
visit(IndexedObjectComplementOf ice,
Context context) |
void |
visit(IndexedObjectIntersectionOf ice,
Context context) |
void |
visit(IndexedObjectSomeValuesFrom ice,
Context context) |
public DecompositionRuleApplicationCounterVisitor(DecompositionRuleApplicationVisitor visitor, DecompositionRuleApplicationCounter counter)
DecompositionRuleApplicationVisitor that executes
the corresponding methods of the given
DecompositionRuleApplicationVisitor and counts the number of
invocations of the corresponding methods using the given
DecompositionRuleApplicationCounter.visitor - the DecompositionRuleApplicationVisitor used to
execute the methodscounter - the DecompositionRuleApplicationCounter used to count
the number of method invocationspublic void visit(IndexedClass ice, Context context)
visit in interface DecompositionRuleApplicationVisitorpublic void visit(IndexedObjectComplementOf ice, Context context)
visit in interface DecompositionRuleApplicationVisitorpublic void visit(IndexedObjectIntersectionOf ice, Context context)
visit in interface DecompositionRuleApplicationVisitorpublic void visit(IndexedObjectSomeValuesFrom ice, Context context)
visit in interface DecompositionRuleApplicationVisitorpublic void visit(IndexedDataHasValue ice, Context context)
visit in interface DecompositionRuleApplicationVisitorCopyright © 2011-2015 Department of Computer Science, University of Oxford. All Rights Reserved.