/** * Create refactoring change. Creation of the change starts final checking for refactoring. * Without creating change refactoring can't be applied. * * @param refactoringSession the refactoring session. * @return result of creation of the change. * @throws RefactoringException when there are no corresponding refactoring session */ @POST @Path("create/change") @Produces("application/json") @Consumes("application/json") public ChangeCreationResult createChange(RefactoringSession refactoringSession) throws RefactoringException { return manager.createChange(refactoringSession.getSessionId()); }