|
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.java.api.JavaMoveMembersProperties
public final class JavaMoveMembersProperties
This class is just holder for properties of the Java Move Members Refactoring. Refactoring itself is implemented in plugins.
MoveRefactoring,
Context| Nested Class Summary | |
|---|---|
static class |
JavaMoveMembersProperties.Visibility
Used to specify visibility level. |
| Constructor Summary | |
|---|---|
JavaMoveMembersProperties(TreePathHandle... preSelectedMembers)
Constructs a new JavaMoveMembersProperties object. |
|
| Method Summary | |
|---|---|
TreePathHandle[] |
getPreSelectedMembers()
The members that are selected by the user when starting the refactoring. |
JavaMoveMembersProperties.Visibility |
getVisibility()
The new visibility of the members. |
boolean |
isAddDeprecated()
Add a deprecated tag to the JavaDoc of the delegating method. |
boolean |
isDelegate()
Leave the old method in place and let it delegate to the new location. |
boolean |
isUpdateJavaDoc()
Update or create the JavaDoc for moved methods. |
void |
setAddDeprecated(boolean addDeprecated)
Add a deprecated tag to the JavaDoc of the delegating method. |
void |
setDelegate(boolean delegate)
Leave the old method in place and let it delegate to the new location. |
void |
setUpdateJavaDoc(boolean updateJavaDoc)
Add a deprecated tag to the javadoc of the delegating method. |
void |
setVisibility(JavaMoveMembersProperties.Visibility visibility)
The new visibility of the members. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaMoveMembersProperties(@NonNull
TreePathHandle... preSelectedMembers)
| Method Detail |
|---|
@NonNull public TreePathHandle[] getPreSelectedMembers()
@NonNull public JavaMoveMembersProperties.Visibility getVisibility()
public void setVisibility(@NonNull
JavaMoveMembersProperties.Visibility visibility)
visibility - the visibility to usepublic boolean isDelegate()
public void setDelegate(boolean delegate)
delegate - true if the old method needs delegate to the new locationpublic boolean isAddDeprecated()
public void setAddDeprecated(boolean addDeprecated)
addDeprecated - true if a deprecated tag has to be added to the
delegate methodpublic boolean isUpdateJavaDoc()
public void setUpdateJavaDoc(boolean updateJavaDoc)
updateJavaDoc - true if the method's JavaDoc needs to be created or
updated.
|
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 | |||||||||