jigcell.compare.data
Class MethodDispatcher.MethodScorer

java.lang.Object
  extended by jigcell.compare.data.MethodDispatcher.MethodScorer
Enclosing class:
MethodDispatcher

protected static class MethodDispatcher.MethodScorer
extends java.lang.Object

Intermediate results for computing a method score.


Field Summary
 int actualPos
          Current parsing position in the actual argument values
 java.lang.Object[] actualValues
          Function arguments currently being worked on for the target
 int formalPos
          Current parsing position in the formal argument formalTypes
 java.lang.Class[] formalTypes
          Argument formalTypes currently being worked on for the target
 
Constructor Summary
MethodDispatcher.MethodScorer()
          Creates a new score keeper for method dispatch.
MethodDispatcher.MethodScorer(java.lang.Class[] formalTypes, java.lang.Object[] actualValues)
          Creates a new score keeper for method dispatch.
 
Method Summary
 void reset()
          Resets any progress recorded for this method score.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

actualValues

public transient java.lang.Object[] actualValues
Function arguments currently being worked on for the target


formalTypes

public transient java.lang.Class[] formalTypes
Argument formalTypes currently being worked on for the target


actualPos

public transient int actualPos
Current parsing position in the actual argument values


formalPos

public transient int formalPos
Current parsing position in the formal argument formalTypes

Constructor Detail

MethodDispatcher.MethodScorer

public MethodDispatcher.MethodScorer()
Creates a new score keeper for method dispatch.


MethodDispatcher.MethodScorer

public MethodDispatcher.MethodScorer(java.lang.Class[] formalTypes,
                                     java.lang.Object[] actualValues)
Creates a new score keeper for method dispatch.

Parameters:
formalTypes - Formal parameter formalTypes
actualValues - Actual parameters
Method Detail

reset

public void reset()
Resets any progress recorded for this method score.