FieldRefactoringFactory.java :  » UML » jrefactory » org » acm » seguin » refactor » field » Java Open Source

Java Open Source » UML » jrefactory 
jrefactory » org » acm » seguin » refactor » field » FieldRefactoringFactory.java
/*
 *  Author:  Chris Seguin
 *
 *  This software has been developed under the copyleft
 *  rules of the GNU General Public License.  Please
 *  consult the GNU General Public License for more
 *  details about use and distribution of this software.
 */
package org.acm.seguin.refactor.field;

/**
 *  Factory for field refactorings
 *
 *@author    Chris Seguin
 */
public class FieldRefactoringFactory {
  /**
   *  Moves the field into the parent class
   *
   *@return    Description of the Returned Value
   */
  public PushDownFieldRefactoring pushDownField()
  {
    return new PushDownFieldRefactoring();
  }


  /**
   *  Moves the field into the child class
   *
   *@return    Description of the Returned Value
   */
  public PushUpFieldRefactoring pushUpField()
  {
    return new PushUpFieldRefactoring();
  }


  /**
   *  Renames a field
   *
   *@return    The refactoring
   */
  public RenameFieldRefactoring renameField()
  {
    return new RenameFieldRefactoring();
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.