java-bytecode-asm
Java Byte code Manipulation with ASM
I’m using ASM 3.3.1. I am trying to intercept a class and change one of it’s methods. I am using the org.objectweb.asm.util.ASMifierClassVisitor to get ASM code to make the new method. Everything wo[详细]
2023-04-11 06:47 分类:问答Implementing abstract methods at runtime?
Let\'s say I have an abstract 开发者_JS百科class: abstract class Foo extends Bar { public abstract int foo();[详细]
2023-04-05 04:01 分类:问答Byte code instrumentation - implement native or java agent?
If I want to realize a profiler using byte code instrumentation, should I write a native agent using JVMTI or should I write a java agent using the java.lang.instrument package?[详细]
2023-04-03 04:21 分类:问答ASM - How can I convert Java class name from Java bytecode name?
I\'m using ASM (a bytecode mo开发者_StackOverflow中文版dification library) and it provides access to type names in the bytecode naming format, for example a String field is reported to have the descri[详细]
2023-03-22 11:05 分类:问答hibernate org.objectweb.asm.classwriter
i get this error when i run my java application i work with hibernate : java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter[详细]
2023-03-05 21:05 分类:问答Asm bytecode queries
Hey all, I am trying to use the ASM bytecode Tree Api to do static analysis for a class. I guess I have a pretty basic question. In a method say foobar(), I have a list of instructions within foobar ([详细]
2023-02-26 07:19 分类:问答variable definition and assignment detect asm bytecode
I am trying to use the ASM bytecode tree API for static analysis of Java Code. I have a ClassNode cn, MethodNode m and the list of instructions in that method say InsnList list.[详细]
2023-02-25 07:07 分类:问答Understanding javap's output for the Constant Pool
When running javap on a very simple HelloWorld application I have some confusion on the output around the constant pool.[详细]
2023-02-22 05:33 分类:问答How To Populate A JavaBean Other Than Using Reflection
do you know if there is anyway that I can populate a javabean but i don\'t want to use reflection. For example I have this xml template to pouplate it[详细]
2023-02-21 13:15 分类:问答Invoke a bytecode class method, java
Im new to java, (i use to program in .NET, Lua ...) and i started to use ASM. so i can\'t use any methods of the class \"Foo\", how can i invoke these methods?[详细]
2023-02-21 02:06 分类:问答