| java.lang.Object org.acm.seguin.summary.TraversalVisitor org.acm.seguin.refactor.method.NearMissVisitor
NearMissVisitor | public class NearMissVisitor extends TraversalVisitor (Code) | | Determines if there is a problem in performing this refactoring
because of a near miss
author: Chris Seguin |
NearMissVisitor | public NearMissVisitor(TypeSummary type, MethodSummary init, TypeSummary notThisOne)(Code) | | Constructor for the NearMissVisitor object
Parameters: type - the ancestor type Parameters: init - the method Parameters: notThisOne - a type to skip |
getProblem | public MethodSummary getProblem()(Code) | | Returns at least one near miss conflict
the problem method |
visit | public Object visit(TypeSummary typeSummary, Object data)(Code) | | Visits a type summary and updates it
Parameters: typeSummary - Description of Parameter Parameters: data - Description of Parameter Description of the Returned Value |
visit | public Object visit(MethodSummary methodSummary, Object data)(Code) | | Visits the method summary and determines if it should be removed.
Parameters: methodSummary - Description of Parameter Parameters: data - Description of Parameter Description of the Returned Value |
Methods inherited from org.acm.seguin.summary.TraversalVisitor | public Object visit(Summary node, Object data)(Code)(Java Doc) public void visit(Object data)(Code)(Java Doc) public Object visit(PackageSummary node, Object data)(Code)(Java Doc) public Object visit(FileSummary node, Object data)(Code)(Java Doc) public Object visit(ImportSummary node, Object data)(Code)(Java Doc) public Object visit(TypeSummary node, Object data)(Code)(Java Doc) public Object visit(MethodSummary node, Object data)(Code)(Java Doc) public Object visit(FieldSummary node, Object data)(Code)(Java Doc) public Object visit(ParameterSummary node, Object data)(Code)(Java Doc) public Object visit(LocalVariableSummary node, Object data)(Code)(Java Doc) public Object visit(VariableSummary node, Object data)(Code)(Java Doc) public Object visit(TypeDeclSummary node, Object data)(Code)(Java Doc) public Object visit(MessageSendSummary node, Object data)(Code)(Java Doc) public Object visit(FieldAccessSummary node, Object data)(Code)(Java Doc)
|
|
|