find_type_arguments
Locates all instances where a Java type is used as a generic argument in code, helping analyze usage patterns and identify collections containing that type.
Instructions
Find all usages of a type as a generic type argument (List, Map<K, Foo>).
JDT-UNIQUE: This fine-grained search is not available in LSP.
USAGE: Provide fully qualified type name OUTPUT: All locations where the type is used as a generic argument
Useful for:
Understanding generic usage patterns
Finding all collections/containers of a type
API design analysis
Requires load_project to be called first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| typeName | Yes | Fully qualified type name to find in generic arguments | |
| maxResults | No | Maximum results to return (default 100) |