SymbolIndex

private class SymbolIndex(classpath: List<File>)

Byte source over the mc-symbols jars/dirs: internal class name -> class bytes, read on demand. Jars are opened once and kept open (read-only symbols, process lifetime). The whole class file is inflated per read, but only its header (super+interfaces) is parsed, and only for the classes an eval actually touches (memoized in FlatRemapper.superCache).

Constructors

Link copied to clipboard
constructor(classpath: List<File>)

Properties

Link copied to clipboard
private val readers: HashMap<String, () -> ByteArray?>

Functions

Link copied to clipboard
fun read(name: String): ByteArray?