net.sourceforge.transmogrify.refactorer
Class TrivialExtractMethod

java.lang.Object
  |
  +--net.sourceforge.transmogrify.symtab.parser.ASTManipulator
        |
        +--net.sourceforge.transmogrify.hook.Transmogrifier
              |
              +--net.sourceforge.transmogrify.refactorer.TrivialExtractMethod

public class TrivialExtractMethod
extends Transmogrifier


Constructor Summary
TrivialExtractMethod()
           
 
Method Summary
 void apply(Hook hook)
           
 boolean canApply(Hook hook)
           
 void refactor(net.sourceforge.transmogrify.symtab.Occurrence location)
           
 
Methods inherited from class net.sourceforge.transmogrify.symtab.parser.ASTManipulator
addDirtyFile, getTree, setup
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrivialExtractMethod

public TrivialExtractMethod()
Method Detail

apply

public void apply(Hook hook)
           throws java.lang.Exception
Overrides:
apply in class Transmogrifier

canApply

public boolean canApply(Hook hook)
Overrides:
canApply in class Transmogrifier

refactor

public void refactor(net.sourceforge.transmogrify.symtab.Occurrence location)