Our great sponsors
-
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.
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).
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.
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.
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.