Interface IRefactoringItem

All Known Subinterfaces:
INativeChangeRefactoringItem
All Known Implementing Classes:
NativeChangeRefactoringItem, RefactoringItem

public interface IRefactoringItem
The logical structure of refactoring operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a name of the refactoring operation
    boolean
    Returns value indicating whether the operation is checked or not.
    boolean
    Returns value indicating whether the operation is optional or not.
    void
    setChecked(boolean checked)
    Sets the refactoring operation checked.
  • Method Details

    • getName

      String getName()
      Returns a name of the refactoring operation
      Returns:
      a name of the refactoring operation, never null/
    • isOptional

      boolean isOptional()
      Returns value indicating whether the operation is optional or not.
      Returns:
      true if the operation is optional, false - otherwise.
    • setChecked

      void setChecked(boolean checked)
      Sets the refactoring operation checked.
      Parameters:
      checked - the flag indicating whether refactoring operation checked or not.
    • isChecked

      boolean isChecked()
      Returns value indicating whether the operation is checked or not.
      Returns:
      true if the operation is checked, false - otherwise.