aspoev.primitive.command
Class RenameMethodCommand

java.lang.Object
  extended byaspoev.primitive.command.EditCommand
      extended byaspoev.primitive.command.EditMethodCommand
          extended byaspoev.primitive.command.RenameMethodCommand
All Implemented Interfaces:
pJ.jasmine.PRI, RenameCommand, java.io.Serializable

public class RenameMethodCommand
extends EditMethodCommand
implements RenameCommand, pJ.jasmine.PRI

See Also:
Serialized Form

Field Summary
protected  java.lang.String newName
           
 
Fields inherited from class aspoev.primitive.command.EditMethodCommand
methodName, types
 
Fields inherited from class aspoev.primitive.command.EditCommand
target
 
Fields inherited from interface pJ.jasmine.PRI
DELETECHANGE, MODIFYCHANGE, NOCHANGE
 
Constructor Summary
RenameMethodCommand(TypeReferenceElement targetType, java.lang.String methodName, java.util.List params, java.lang.String newName)
           
 
Method Summary
protected  void edit()
           
 java.lang.String getPrimitiveName()
           
protected  void persist()
           
 
Methods inherited from class aspoev.primitive.command.EditMethodCommand
getParameterTypes, persistParameterTypes
 
Methods inherited from class aspoev.primitive.command.EditCommand
execute, overridesMember, usesMember
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

newName

protected java.lang.String newName
Constructor Detail

RenameMethodCommand

public RenameMethodCommand(TypeReferenceElement targetType,
                           java.lang.String methodName,
                           java.util.List params,
                           java.lang.String newName)
Method Detail

persist

protected void persist()
Overrides:
persist in class EditMethodCommand

edit

protected void edit()
Specified by:
edit in class EditCommand

getPrimitiveName

public java.lang.String getPrimitiveName()
Specified by:
getPrimitiveName in class EditCommand