tmvkrpxl0 / Srg2Source

Applies source level refactors to java source code. Working on kotlin support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Srg2Source v4.1

A tool for renaming symbols (classes, methods, fields, parameters, and variables) in Java source code using .srg mappings.

For porting, Minecraft, CraftBukkit, mods, plugins, etc.

Usage

java -jar Srg2Source-fatjar.jar --extract [SourceDir] [LibrariesDir] [RangeMapOutput]
java -jar Srg2Source-fatjar.jar --apply --srcRoot [SourceDir] --srcRangeMap [RangeMap] --srgFiles [SRGFile] --excFiles [ExcFile] --outDir [Output]

See also

Inspired by the Frans-Willem's binary remapper ApplySrg, originally from https://github.com/Frans-Willem/SrgTools (updated version at https://github.com/agaricusb/SrgTools)

More remapping tools and generated .srgs: https://github.com/agaricusb/MinecraftRemapping

About

Applies source level refactors to java source code. Working on kotlin support

License:GNU Lesser General Public License v2.1


Languages

Language:Java 98.7%Language:Kotlin 1.3%