/** * Pass: unused-interface-method (#66) * * Detects interface methods that are never called anywhere in the current file. * This is a conservative single-file check: if a method is called at all (even * through a different receiver), it is not flagged. * * Detection strategy: * 1. Collect all method names called anywhere in the file. * 2. For each interface type, for each method whose name does not appear in * the called-method set → emit finding. * * Note: This analysis is intentionally conservative. Cross-file callers are * not checked; downstream consumers should suppress findings for public APIs. * * Languages: Java, TypeScript. * Dedup: at most one finding per interface:method pair. */ import type { AnalysisPass, PassContext } from '../../graph/analysis-pass.js'; export interface UnusedInterfaceMethodResult { findings: number; } export declare class UnusedInterfaceMethodPass implements AnalysisPass { readonly name = "unused-interface-method"; readonly category: "maintainability"; run(ctx: PassContext): UnusedInterfaceMethodResult; } //# sourceMappingURL=unused-interface-method-pass.d.ts.map