Skip to content
Lightweight runtime bytecode transformation library for the JVM
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
core
forge
gradle/wrapper
.gitignore
LICENSE.txt
README.md
build.gradle
gradle.properties
settings.gradle

README.md

Stitcher

Stitcher is a lightweight and fast class transformation library for Java developed using the ASM library which is suitable for usage during runtime.

⚠️ Stitcher is not yet considered stable and is still largely a pet project for my own purposes. There may exist lurking issues which impact generated bytecode correctness. Please report any issues you find on the issue tracker.

Features

  • Support for code injection, method redirection and overwriting, local variable capture, field and method shadowing
  • Supports obfuscated environments with plugin re-obfuscation as a Gradle build task
  • Detects early class-loading errors which prevent transforming targets
  • Compiles to a single JAR for the Forge platform which weighs in just under 120KB with dependencies included

Building

Clone the repository and use the provided Gradle wrapper to perform a build with the following command:

./gradlew build

License

Stitcher is free and open-source software licensed under the GNU LGPL v3.0 license.

You can’t perform that action at this time.