jar_disassemble
Disassemble a method's bytecode to inspect compiled instructions when source is unavailable or you need to verify what code compiles to. Specify jar and class, optionally method, to get focused javap output.
Instructions
Disassemble one method's bytecode with javap (needs a JDK on PATH).
Reach for this only when the API outline and the source are not enough --
for example when checking what a method compiles to, or reading a class
that has no sources attached. Always pass method to keep it small.
Args:
jar: Archive path or classes directory (nested ! specs are not supported).
class_name: FQCN, simple name or glob.
method: Method name to keep; empty returns every method (often large).
limit: Maximum lines of disassembly to return.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jar | Yes | ||
| limit | No | ||
| method | No | ||
| class_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |