find_implementations
Locate all implementors of an interface or subclasses of a class from a Java file position, returning each implementing or extending type with its location.
Instructions
Find implementations of an interface or extensions of a class.
USAGE: Position on a type (interface or class), find all implementors/subclasses OUTPUT: List of implementing/extending types with locations
IMPORTANT: Uses ZERO-BASED coordinates.
potentialMatches are the places naming the type, or one of its subtypes, as a supertype that JDT could not confirm: the class declaring each may be an implementation, and, for a method, may override it.
maxResults outside 0 to 1000 is INVALID_PARAMETER.
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 |
|---|---|---|---|
| line | Yes | Zero-based line number | |
| column | Yes | Zero-based column number | |
| filePath | Yes | Path to source file | |
| maxResults | No | Max implementations to return, 0 to 1000 (default 100) |