net.sf.rej.gui.editor.iteration
Class FindMethodRefs

java.lang.Object
  extended by net.sf.rej.AbstractIteratorAgent
      extended by net.sf.rej.gui.IteratorAgentAdapter
          extended by net.sf.rej.gui.editor.iteration.FindMethodRefs
All Implemented Interfaces:
IteratorAgent

public class FindMethodRefs
extends IteratorAgentAdapter

IteratorAgent which gets a class name, method name and method descriptor as parameters and finds all method references (and definitions) which match them.

Author:
Sami Koivu

Constructor Summary
FindMethodRefs(java.lang.String className, java.lang.String methodName, Descriptor desc)
           
 
Method Summary
 void processInstruction(IterationContext sc, Instruction instruction)
           
 void processMethod(IterationContext sc, Method method)
           
 
Methods inherited from class net.sf.rej.gui.IteratorAgentAdapter
finished, postProcessFile, processAttribute, processClass, processConstantPoolInfo, processException, processField, processFile, processInterface, processLocalVariable
 
Methods inherited from class net.sf.rej.AbstractIteratorAgent
progressed, scopeChanged, setProgressMonitor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindMethodRefs

public FindMethodRefs(java.lang.String className,
                      java.lang.String methodName,
                      Descriptor desc)
Method Detail

processMethod

public void processMethod(IterationContext sc,
                          Method method)
Specified by:
processMethod in interface IteratorAgent
Overrides:
processMethod in class IteratorAgentAdapter

processInstruction

public void processInstruction(IterationContext sc,
                               Instruction instruction)
Specified by:
processInstruction in interface IteratorAgent
Overrides:
processInstruction in class IteratorAgentAdapter