jar_class_outline
Retrieve a class's API outline from a JAR—declaration, annotations, fields, and method signatures—without decompiling or reading source.
Instructions
Show a class's API: declaration, annotations, fields and method signatures.
This is the cheap alternative to decompiling or reading source. Signatures
keep generics, parameter names (when compiled with -g), thrown exceptions
and constant values; method bodies are not included.
Args:
jar: Archive path, classes directory, or outer.jar!nested.jar.
class_name: FQCN, simple name or glob (resolved like jar_find_class).
visibility: Lowest visibility to include: public, protected, package, private.
include_synthetic: Include compiler-generated bridge/synthetic members.
fully_qualified_types: Print java.util.List instead of List.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jar | Yes | ||
| class_name | Yes | ||
| visibility | No | protected | |
| include_synthetic | No | ||
| fully_qualified_types | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |