analyze_type
Analyze Java types comprehensively by retrieving type information, members, hierarchy, and usage data in a single call to simplify code understanding.
Instructions
Comprehensive type analysis in a single call.
Combines:
Type info (name, kind, modifiers, location)
All members (methods, fields, constructors)
Type hierarchy (superclass, interfaces, subtypes)
Usage summary (instantiations, casts, etc.)
Diagnostics for the type's file
Use this instead of multiple calls to get_type_members + get_type_hierarchy + get_type_usage_summary.
Requires load_project to be called first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| typeName | Yes | Fully qualified or simple type name | |
| includeUsages | No | Include usage analysis (default true) | |
| maxUsages | No | Max usages per category (default 10) |