| |
|
| java.lang.Object org.netbeans.modules.refactoring.api.AbstractRefactoring org.netbeans.modules.refactoring.api.SafeDeleteRefactoring
Constructor Summary | |
public | SafeDeleteRefactoring(Lookup namedElements) Creates a new instance of SafeDeleteRefactoring, passing Lookup containing the candidate
elements as parameter. |
SafeDeleteRefactoring | public SafeDeleteRefactoring(Lookup namedElements)(Code) | | Creates a new instance of SafeDeleteRefactoring, passing Lookup containing the candidate
elements as parameter.
Safe Delete Refactoring implementations currently understand following types:
Module | Types the Module Understands | Implementation |
Refactoring API (Default impl.) | FileObject | Does file delete |
Java Refactoring | -
org.openide.filesystems.FileObject (s) with content type text/x-java (safly delete class)
-
org.netbeans.api.java.source.TreePathHandle (class, field, method)
|
Check for usages and does refactoring inside .java files. |
Parameters: namedElements - The elements to be safely deleted |
isCheckInComments | public boolean isCheckInComments()(Code) | | Indicates whether the usage of the elements will also be checked
in comments before deleting the elements
Returns the value of the field checkInComments |
setCheckInComments | public void setCheckInComments(boolean checkInComments)(Code) | | Sets whether or not the usage of the elements will be checked
in comments before deleting the elements
Parameters: checkInComments - Sets the checInComments field of this class |
|
|
|