Yes. You can use the javap
command that’s included with the JDK to see the byte code of a class. For example:
javap -c com.mypackage.MyClass
There are several libraries and tools that help you to work with Java bytecode, for example ASM and Jasmin.
More Related Contents:
- I was wondering if anyone can tell me how to understand the bytecode
- Java 7 language features with Android
- Create simple POJO classes (bytecode) at runtime (dynamically)
- Why are Java 8 lambdas invoked using invokedynamic?
- Difference between JVM’s LookupSwitch and TableSwitch?
- What are advantages of bytecode over native code? [closed]
- Bytecode features not available in the Java language
- Gradle sourceCompatibility has no effect to subprojects
- Do unused import and objects have a performance impact?
- Avoiding getfield opcode
- Find out which classes of a given API are used
- is it possible to disable javac’s inlining of static final variables?
- In Java Lambda’s why is getClass() called on a captured variable
- ASM Get exact value from stack frame
- What is a stack map frame
- What are bytecodes and how does the JVM handle them
- How to emit and execute Java bytecode at runtime?
- Java’s Virtual Machine and CLR
- java bytecode editor? [closed]
- What is the meaning of “static synthetic”?
- Check if Java bytecode contains debug symbols
- Converting ISO 8601-compliant String to java.util.Date
- Hibernate JPA Sequence (non-Id)
- Immutable vs Unmodifiable collection [duplicate]
- SimpleDateFormat parse loses timezone [duplicate]
- Java 8: Where is TriFunction (and kin) in java.util.function? Or what is the alternative?
- Drag and Drop custom object from JList into JLabel
- How can I slice an ArrayList out of an ArrayList in Java?
- Improper publication of Java Object Reference
- How can I determine the type of a generic field in Java?