/** * Java code extractor */ import type Parser from 'tree-sitter'; import { BaseExtractor } from './base.js'; import type { ExtractionResult } from '../types.js'; /** * Extractor for Java code */ export declare class JavaExtractor extends BaseExtractor { readonly language = "java"; getTargetNodeTypes(): string[]; protected extractNode(node: Parser.SyntaxNode, _filePath: string, _content: string): ExtractionResult | null; /** * Extract class declaration */ private extractClass; /** * Extract interface declaration */ private extractInterface; /** * Extract enum declaration */ private extractEnum; /** * Extract method declaration */ private extractMethod; /** * Extract constructor declaration */ private extractConstructor; /** * Extract field declaration */ private extractField; /** * Extract annotation type declaration */ private extractAnnotationType; /** * Extract modifiers (public, private, static, final, etc.) */ private extractModifiers; /** * Extract visibility from modifiers */ private extractVisibility; /** * Extract Java method/constructor parameters */ private extractJavaParameters; /** * Override complexity calculation for Java */ protected calculateComplexity(node: Parser.SyntaxNode): number; } //# sourceMappingURL=java.d.ts.map