javassist
javassist copied to clipboard
Java bytecode engineering toolkit
Hello, I'm using javassist recently, and I really like the function it provides to copy methods, this makes it very convenient for me to copy the specified method to the...
Hello, I think I encountered a bug in Javassist. The problem is reproducable with the following code snippet: ``` package org.example; public class TestClass{ static { System.out.println("static block 1"); }...
Still **_WIP_**... 🚧 the implemetation codes need be simplified and polished. The reasons to create the WIP PR: - show the working progress - ask questions - get feedback early...
Could I get confirmation that when distributing javassist that the user has a choice of which license to run it under from the three licenses?
javassist_version=3.28.0-GA This is the Stacktrace: getArrayType:888, TypeData$ClassName (javassist.bytecode.stackmap) fixTypes1:424, TypeData$TypeVar (javassist.bytecode.stackmap) fixTypes:416, TypeData$TypeVar (javassist.bytecode.stackmap) dfs:362, TypeData$TypeVar (javassist.bytecode.stackmap) dfs:345, TypeData$TypeVar (javassist.bytecode.stackmap) dfs:345, TypeData$TypeVar (javassist.bytecode.stackmap) dfs:345, TypeData$TypeVar (javassist.bytecode.stackmap) dfs:345, TypeData$TypeVar (javassist.bytecode.stackmap) dfs:345,...
I've using insertBefore function to add few lines code to a method, and just want change/remove one line, is it possible?
To complete example.md In section 5, we should run javac sample/preproc/*.java Another issue is that there is a typo error in the first sentence in section 5
When I tried to insert the following code in a method body by **CtMethod.insertAt(int,String)**, exception occured. It would be helpful, if some one helps me to get over this. code...
I want insert runnable code in my project,but javassist can't create inner class,please show me how to do it
In ByteBuddy when I create a dynamic proxy for `MyBaseClass` I can easily add annotations to it: ```java final var proxyClassBuilder = new ByteBuddy() .subclass(MyBaseClass.class) // other stuff here... .annotateType(new...