Class RefactoringAccess


  • public abstract class RefactoringAccess
    extends Object
    • Constructor Detail

      • RefactoringAccess

        protected RefactoringAccess()
    • Method Detail

      • isApplicable

        public boolean isApplicable​(@NotNull
                                    String refactoringClassName,
                                    Object target)
        NPE-safe shorthand for isApplicable(getRefactoringByClassName(refactoringClassName), target)
      • getAllRefactorings

        public abstract Collection<IRefactoring> getAllRefactorings()
        IMPORTANT: DON'T USE THIS METHOD, ITS VISIBILITY WILL CHANGE TO protected. IT'S PROVISIONALLY PUBLIC FOR MIGRATION PURPOSES ONLY. Once RefactoringUtil is history (past 2018.2), we expect no clients to access collection of all available refactorings. If this is wrong, please file an issue.