01: /*
02: * Author: Chris Seguin
03: *
04: * This software has been developed under the copyleft
05: * rules of the GNU General Public License. Please
06: * consult the GNU General Public License for more
07: * details about use and distribution of this software.
08: */
09: package org.acm.seguin.refactor.field;
10:
11: /**
12: * Factory for field refactorings
13: *
14: *@author Chris Seguin
15: */
16: public class FieldRefactoringFactory {
17: /**
18: * Moves the field into the parent class
19: *
20: *@return Description of the Returned Value
21: */
22: public PushDownFieldRefactoring pushDownField() {
23: return new PushDownFieldRefactoring();
24: }
25:
26: /**
27: * Moves the field into the child class
28: *
29: *@return Description of the Returned Value
30: */
31: public PushUpFieldRefactoring pushUpField() {
32: return new PushUpFieldRefactoring();
33: }
34:
35: /**
36: * Renames a field
37: *
38: *@return The refactoring
39: */
40: public RenameFieldRefactoring renameField() {
41: return new RenameFieldRefactoring();
42: }
43: }
|