@LauncherAPI
public static Path resolveObjectFile(Path assetDir, String hash) {
return assetDir.resolve(OBJECTS_DIR).resolve(hash.substring(0, 2)).resolve(hash);
}
private static final class IndexAssetVisitor extends SimpleFileVisitor<Path> {
<BUG>private final JSONObject objects;
</BUG>
private final Path inputAssetDir;
private final Path outputAssetDir;
<BUG>private IndexAssetVisitor(JSONObject objects, Path inputAssetDir, Path outputAssetDir) {
</BUG>
this.objects = objects;

@LauncherAPI
public static Path resolveIndexFile(Path assetDir, String name) {
return assetDir.resolve(INDEXES_DIR).resolve(name + JSON_EXTENSION);
}
@LauncherAPI
public static Path resolveObjectFile(Path assetDir, String hash) {
return assetDir.resolve(OBJECTS_DIR).resolve(hash.substring(0, 2)).resolve(hash);
}
private static final class IndexAssetVisitor extends SimpleFileVisitor<Path> {
private final JsonObject objects;
private final Path inputAssetDir;
private final Path outputAssetDir;
private IndexAssetVisitor(JsonObject objects, Path inputAssetDir, Path outputAssetDir) {
this.objects = objects;
