find_type_arguments
Find all usages of a type as a generic type argument, such as List or Map<K, Foo>, to understand generic usage patterns and locate every collection or container of 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
potentialMatches, present only when there are any, holds the places JDT's search reports as possible matches but cannot confirm, because a type or name there does not resolve (a missing dependency or a compile error): count is their exact number, and locations lists them, as many as the results it stands beside may list. They are never counted or listed as results.
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) |