| |
|
| java.lang.Object org.acm.seguin.refactor.Refactoring org.acm.seguin.refactor.type.ExtractInterfaceRefactoring
ExtractInterfaceRefactoring | public class ExtractInterfaceRefactoring extends Refactoring (Code) | | Refactoring that extracts the interface from the dialog
author: Grant Watson |
ExtractInterfaceRefactoring | protected ExtractInterfaceRefactoring()(Code) | | Constructor for the ExtractInterfaceRefactoring object
|
addImplementingClass | public void addImplementingClass(String packageName, String className)(Code) | | Adds a class that will implement the new interface
Parameters: packageName - The feature to be added to the ImplementingClassattribute Parameters: className - The feature to be added to the ImplementingClassattribute |
addImplementingClass | public void addImplementingClass(TypeSummary summary)(Code) | | Adds a feature to the ImplementingClass attribute of the
ExtractInterfaceRefactoring object
Parameters: summary - The feature to be added to the ImplementingClass attribute |
getDescription | public String getDescription()(Code) | | Gets the Description attribute of the ExtractInterfaceRefactoring object
The Description value |
getID | public int getID()(Code) | | Gets the ID attribute of the ExtractInterfaceRefactoring object
The ID value |
setInterfaceName | public void setInterfaceName(String interfaceName)(Code) | | Sets the interface name for the new interface. If the name contains a
package name, then the package name is also set.
Parameters: interfaceName - The new InterfaceName value |
setPackageName | public void setPackageName(String packageName)(Code) | | Sets the PackageName attribute of the ExtractInterfaceRefactoring object
Parameters: packageName - The new PackageName value |
transform | protected void transform()(Code) | | this performs the refactoring
|
|
|
|