get_type_usage_summary
Aggregate all usage patterns of a type: instantiations, casts, instanceof checks, type arguments, and annotations. Understand type usage across the codebase.
Instructions
Get comprehensive usage summary for a type across the codebase.
Aggregates all usage patterns in a single call:
Instantiations (new Foo())
Casts ((Foo) x)
Instanceof checks (x instanceof Foo)
Type arguments (List)
Annotation usages (if annotation type)
Use this to understand how a type is used throughout the project.
Requires load_project to be called first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| typeName | Yes | Fully qualified or simple type name | |
| maxPerCategory | No | Maximum results per category (default 10) |