get_type_members
Retrieve methods, fields, and nested types for a Java type, with optional inherited-member inclusion and member-kind filtering.
Instructions
Get all members (methods, fields, nested types) of a specific type.
USAGE: Provide a type name to get all its members OUTPUT: Lists of methods, fields, and nested types with their details
Options:
includeInherited: Also include members from superclasses/interfaces
memberKind: Filter to "method" (constructors included), "field" or "type" only, compared case-insensitively. "field" returns every field, including static final constants and enum constants; each field's kind is field, constant or enumConstant. Any other value is rejected with INVALID_PARAMETER.
With includeInherited, unresolvedSupertypes, present only when there are any, names each supertype the compiler cannot resolve (a missing dependency), as the declaration writes it, with the type whose declaration names it: the members it would give are not listed.
Requires load_project to be called first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| typeName | Yes | Fully qualified or simple type name | |
| memberKind | No | Filter, case-insensitive: 'method', 'field' (every field, constants and enum constants included) or 'type'; omit for all | |
| includeInherited | No | Include inherited members (default false) |