JavetBuddy is Javet + ByteBuddy. JavetBuddy enhances JVM via bytecode by JavaScript.
- Inject ad-hoc non-final Java Class by JavaScript
- Extend non-final Java Class by JavaScript
- Call
$super
in Derived Class
<dependency>
<groupId>com.caoccao.javet.buddy</groupId>
<artifactId>javet-buddy</artifactId>
<version>0.4.0</version>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.15.5</version>
</dependency>
implementation("com.caoccao.javet.buddy:javet-buddy:0.4.0")
implementation("net.bytebuddy:byte-buddy:1.15.5")
implementation 'com.caoccao.javet.buddy:javet-buddy:0.4.0'
implementation 'net.bytebuddy:byte-buddy:1.15.5'