Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Mastering Automated Code Refactoring with OpenRewrite
Highest Rated
Rating: 4.8 out of 5(86 ratings)
4,684 students

Mastering Automated Code Refactoring with OpenRewrite

Unlocking Efficiency in Code Refactoring and Legacy Code Migration
Created byAnsgar Schulte
Last updated 12/2024
English
English [Auto],

What you'll learn

  • Learn to automate tedious refactoring tasks using OpenRewrite to enhance efficiency
  • Gain skills to accelerate the migration of legacy codebases using OpenRewrite
  • Explore ways to boost your productivity by automating repetitive tasks with OpenRewrite
  • Discover how to standardize code changes with OpenRewrite for better team collaboration
  • Understand how to apply consistent best practices with OpenRewrite to improve overall code quality
  • Learn to create custom recipes in OpenRewrite that cater to your project's unique requirements
  • Participate in a hands-on case study, applying what you've learned in a practical scenario with OpenRewrite

Course content

4 sections38 lectures2h 25m total length
  • What OpenRewrite is1:53

    Discover how OpenRewrite, an open source Java-based auto refactoring engine with recipe-driven changes, enables repo-wide refactorings across frameworks, security fixes, and new language features.

  • How it works in a nutshell2:15

    Explore how Open Rewrite reads source code, builds a syntax tree, and uses recipes with a visitor to refactor a method into a personal greeting.

  • System requirements0:53

    Identify the minimal system requirements for OpenRewrite, including a recent Java runtime and a build tool such as Maven or Gradle.

  • Choosing a code base1:54

    Explore OpenRewrite with a Java Spring Boot showcase repo on GitHub to reproduce refactoring concepts, clone the project, and auto migrate Spring Boot to a newer version.

  • A first example3:43

    Explore how OpenRewrite plugin enables automatic refactorings in a maven project by applying recipes like the Java Order Import recipe, demonstrating code changes, warnings, and streamlined refactoring workflows.

Requirements

  • You SHOULD have an Java development environment available (JDK, IDE and Buildtool)
  • You SHOULD have a good understanding of the Java language syntax
  • You do NOT need any knowledge or experience in OpenRewrite or Refactoring basics. You'll learn everything here
  • Ask me ANY questions via the Chat or my Discord, I'm here to help you at any time

Description

Unlock the power of automated code transformation with my beginner-friendly course on OpenRewrite! Whether you're a seasoned developer or just starting your coding journey, this course is designed to equip you with the basic skills and knowledge to leverage OpenRewrite for efficient code refactoring and modernization.

What You Will Learn:

  • Introduction to OpenRewrite: Understand what OpenRewrite is and how it revolutionizes the way we approach code changes.

  • Setting Up Your Environment: Step-by-step guidance on installing and configuring OpenRewrite in your development environment.

  • Creating Your First Recipe: Learn how to write custom recipes that automate complex code transformations, saving you time and reducing errors.

Who This Course Is For:

  • Software developers looking to enhance their refactoring skills

  • Anyone interested in modernizing legacy codebases

Why Choose This Course?

This course offers a unique blend of theory and practice. Join a community of learners who are transforming their coding practices with OpenRewrite. By the end of this course, you'll have understood all the basics you need to use OpenRewrite in your projects and write your very own first recipes.

Enroll Now!

Don’t miss out on the opportunity to elevate your coding skills. Enroll today and start mastering OpenRewrite—your future self will thank you!

Who this course is for:

  • Software developers who want to reduce technical debt sustainably and efficiently
  • Software developers who spend a lot of time on manual refactoring