|
org.netbeans.modules.refactoring.java/1 1.37.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.modules.refactoring.api.AbstractRefactoring
org.netbeans.modules.refactoring.java.api.InnerToOuterRefactoring
public final class InnerToOuterRefactoring
Convert Inner to Top-Level refactoring implementation class. This refactoring is capable of converting an inner class into a top-level class.
RefactoringPlugin,
RefactoringPluginFactory,
AbstractRefactoring,
RefactoringSession| Field Summary |
|---|
| Fields inherited from class org.netbeans.modules.refactoring.api.AbstractRefactoring |
|---|
INIT, PARAMETERS_CHECK, PRE_CHECK, PREPARE |
| Constructor Summary | |
|---|---|
InnerToOuterRefactoring(TreePathHandle sourceType)
Creates a new instance of InnerToOuterRefactoring. |
|
| Method Summary | |
|---|---|
String |
getClassName()
Returns the name for the top-level class to be created. |
String |
getReferenceName()
Returns name of the field that should be generated as a reference to the original outer class. |
TreePathHandle |
getSourceType()
Returns the type the members of which should be pulled up by this refactoring. |
void |
setClassName(String className)
Sets name for the top-level class to be created. |
void |
setReferenceName(String referenceName)
Sets name of the field that should be generated as a reference to the original outer class. |
| Methods inherited from class org.netbeans.modules.refactoring.api.AbstractRefactoring |
|---|
addProgressListener, cancelRequest, checkParameters, fastCheckParameters, getContext, getRefactoringSource, preCheck, prepare, removeProgressListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InnerToOuterRefactoring(TreePathHandle sourceType)
sourceType - An inner class that should be converted to a top-level class.| Method Detail |
|---|
public TreePathHandle getSourceType()
public String getClassName()
public void setClassName(String className)
className - Class name.public String getReferenceName()
public void setReferenceName(String referenceName)
referenceName - Name of the field or null if no field should be generated.
|
org.netbeans.modules.refactoring.java/1 1.37.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||