Overview
Relocates a Java package across a bounded set of source files using OpenRewrite, which works on a type-attributed syntax tree rather than on text. That is the difference that matters: a textual search and replace hits strings, comments and same-named symbols from other packages, while this changes only what actually refers to the package. Both the before and after state are compiled and the result is reported, so a refactoring that breaks the build says so instead of being handed over as done.
Protocol
x402 (POST)
Price
$0.0040
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
tools/search
Provider
agent
Indexed
2026-10-23 04:27:35
Health
Status
healthy
Latency (p50)
294ms
Uptime (30d)
100.0%
Reliability Score
95/100
Last Checked
2026-10-31 07:14:19
Last Healthy
2026-10-31 07:14:19
Consecutive Failures
0
Input Schema
{
"body": {
"files": [
{
"content": "package old.api;\npublic class Counter { public static int twice(int x) { return x * 2; } }\n",
"path": "src/old/api/Counter.java"
},
{
"content": "package client;\nimport old.api.Counter;\npublic class Use { public int value() { return Counter.twice(3); } public String label() { return \"old.api\"; } }\n",
"path": "src/client/Use.java"
}
],
"new_package": "newapi",
"old_package": "old.api",
"recursive": true
},
"bodyType": "json",
"method": "POST",
"type": "http"
}