Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

CaptainBern/Hug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hug

Hug is a very small and compact library which can be used for bytecode manipulation.

Hug is very abstract and very, very low level. A basic set of utility classes is delivered and can be used to do specific operations easier. (renaming a method, remapping a class etc)

Basic usage

Hug is very easy to use. here's a small code example:

ClassReader hug = new ClassReader("java.lang.Object"); // Can also be raw bytes or an inputstream

for (Member field : hug.getFields()) {

    System.out.println(field.getDescriptor() + " -> " + field.getName());

}

About

A tiny java bytecode manipulation library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages