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

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

public class FindFieldRefs
extends IteratorAgentAdapter

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

Author:
Sami Koivu

Constructor Summary
FindFieldRefs(java.lang.String className, java.lang.String fieldName, Descriptor desc)
           
 
Method Summary
 void processField(IterationContext sc, Field field)
           
 void processInstruction(IterationContext sc, Instruction instruction)
           
 
Methods inherited from class net.sf.rej.gui.IteratorAgentAdapter
finished, postProcessFile, processAttribute, processClass, processConstantPoolInfo, processException, processFile, processInterface, processLocalVariable, processMethod
 
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

FindFieldRefs

public FindFieldRefs(java.lang.String className,
                     java.lang.String fieldName,
                     Descriptor desc)
Method Detail

processField

public void processField(IterationContext sc,
                         Field field)
Specified by:
processField in interface IteratorAgent
Overrides:
processField in class IteratorAgentAdapter

processInstruction

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