Byte Buddy
Runtime code generation for the Java virtual machine. (by raphw)
Javassist
Java bytecode engineering toolkit (by jboss-javassist)
Our great sponsors
Byte Buddy | Javassist | |
---|---|---|
2 | 4 | |
4,915 | 3,518 | |
- | 1.5% | |
9.6 | 1.4 | |
7 days ago | 4 days ago | |
Java | Java | |
Apache License 2.0 | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Byte Buddy
Posts with mentions or reviews of Byte Buddy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-19.
-
is rust the only language to have procedural macros?
Have a look at byte buddy.
-
Byte Buddy on Android made possible
If you've ever used libraries like https://github.com/JakeWharton/hugo or https://hibernate.org/ (if you've ever done some backend development) and wondered how do they seem to add some code/logic into your app just by adding some annotation to some method, or if you ever wondered how mocking frameworks like Mockito can change a class behavior for example, then most likely you're interested in a programming technique that allows to modify existing code, usually known as Aspect oriented programming (also known in Java as Bytecode instrumentation) which, even though it might sound intimidating at first, some really cool tools such as Byte Buddy or AspectJ make it quite easy to accomplish.
Javassist
Posts with mentions or reviews of Javassist.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-16.
-
Kimmer: Port immer for kotlin/jvm
This problem can be resolved by https://github.com/jboss-javassist/javassist/blob/master/src/main/javassist/util/proxy/DefineClassHelper.java perfectly, I will use some of its code to fix this problem on 0.0.1
-
Bytecode Transformations: The Android Gradle Plugin
Other higher-level abstractions like Javassist: are all based on ASM, but have a nicer and easier-to-understand APIs to deal with.
- Functions hooking
-
Hacking third-party APIs on the JVM
In the following snippet, the transformer uses Javassist:
What are some alternatives?
When comparing Byte Buddy and Javassist you can also consider the following projects:
Byteman - Byteman Project main repo
Recaf - The modern Java bytecode editor
easydeviceinfo - :iphone: [Android Library] Get device information in a super easy way.
OpenKeychain - OpenKeychain is an OpenPGP implementation for Android.
StatusBarUtil - A util for setting status bar style on Android App.
joda-time-android - Joda-Time library with Android specialization
JustWeTools - Some useful tools
apk-parser
AndroidProcesses - DEPRECATED
PrivacyStreams - Access and process various types of personal data in Android with a set of easy, uniform, and privacy-friendly APIs.
Hibernate - Hibernate's core Object/Relational Mapping functionality