Introducing Astra: A Tool for Refactoring Java Programs at Scale

This page summarizes the projects mentioned and recommended in the original post on /r/java

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Error Prone

    Catch common Java mistakes as compile-time errors

  • As Refaster has some limitations on what you can achieve (e.g., you can't perform exception type migrations), then you have to implement your own ErrorProne check operating on the AST (e.g., TryFailRefactoring to get you to assertThrows from pre-JUnit 4.13 idiom of try/fail/catch/verify).

  • astra

    Astra: a Java tool for analysing and refactoring Java source code (by alfasoftware)

  • I wonder if type reference refactorings support more complex type migrations, where you'd like to migrate your code from type A to a similar type B with a different API, which involves rewriting the method invocations. Think, Guava Optional to j.u.Optional, or Joda Time Duration to j.t.Duration.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • react-codemod

    React codemod scripts

  • Agree. I know js has a similar tool, jscodeshift. https://github.com/reactjs/react-codemod and https://github.com/cpojer/js-codemod/tree/master/transforms have some ideas for js.

  • js-codemod

    Codemod scripts to transform code to next generation JS

  • Agree. I know js has a similar tool, jscodeshift. https://github.com/reactjs/react-codemod and https://github.com/cpojer/js-codemod/tree/master/transforms have some ideas for js.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts