Uses of Class
org.egothor.methodatlas.AiResultCache
Packages that use AiResultCache
Package
Description
Provides the core command-line utility for analyzing Java test sources and
producing structured metadata about JUnit test methods.
CLI command handler implementations for MethodAtlas.
-
Uses of AiResultCache in org.egothor.methodatlas
Methods in org.egothor.methodatlas that return AiResultCacheModifier and TypeMethodDescriptionstatic AiResultCacheAiResultCache.empty()Returns an empty cache that always produces misses.static AiResultCacheLoads a cache from a unified JSON-Lines cache file or a legacy scan CSV, auto-detected from the file's first non-blank character. -
Uses of AiResultCache in org.egothor.methodatlas.command
Methods in org.egothor.methodatlas.command that return AiResultCacheModifier and TypeMethodDescriptionAiRuntimeBuilder.buildCache(Path cacheFile) Loads the AI result cache from a previous MethodAtlas CSV output, or returns the empty no-op cache when no cache file was configured.AiRuntime.cache()Returns the value of thecacherecord component.Methods in org.egothor.methodatlas.command with parameters of type AiResultCacheModifier and TypeMethodDescriptionvoidScanOrchestrator.gatherAiSuggestionsForFile(Map<String, List<org.egothor.methodatlas.api.DiscoveredMethod>> byClass, AiRuntime ai, AiResultCache aiCache, Map<String, List<String>> tagsToApply, Map<String, String> displayNames) Resolves AI security-classification suggestions for every class inbyClassand populatestagsToApplyanddisplayNameswith the results for methods that are security-relevant.booleanScanOrchestrator.runDiscovery(Path root, List<org.egothor.methodatlas.api.TestDiscovery> providers, org.egothor.methodatlas.ai.AiOptions aiOptions, org.egothor.methodatlas.ai.AiSuggestionEngine aiEngine, org.egothor.methodatlas.emit.TestMethodSink sink, boolean contentHashEnabled, org.egothor.methodatlas.emit.ClassificationOverride override, AiResultCache aiCache) Runs all configuredTestDiscoveryproviders onroot, merges their results, orchestrates AI analysis per class, and forwards each method record tosink.booleanScanOrchestrator.runDiscovery(Path root, List<org.egothor.methodatlas.api.TestDiscovery> providers, org.egothor.methodatlas.ai.AiOptions aiOptions, org.egothor.methodatlas.ai.AiSuggestionEngine aiEngine, org.egothor.methodatlas.emit.TestMethodSink sink, boolean contentHashEnabled, org.egothor.methodatlas.emit.ClassificationOverride override, AiResultCache aiCache, org.egothor.methodatlas.command.CredentialTriageContext secretCtx) Runs discovery and AI analysis for one root likeScanOrchestrator.runDiscovery(Path, List, AiOptions, AiSuggestionEngine, TestMethodSink, boolean, ClassificationOverride, AiResultCache), additionally folding credential triage into each per-class AI call whensecretCtxis supplied.intScanOrchestrator.scan(List<Path> roots, CliConfig cliConfig, org.egothor.methodatlas.api.TestDiscoveryConfig discoveryConfig, org.egothor.methodatlas.ai.AiSuggestionEngine aiEngine, org.egothor.methodatlas.emit.TestMethodSink sink, org.egothor.methodatlas.emit.ClassificationOverride override, AiResultCache aiCache) Scans every configured root, forwarding each discovered test method tosink.intScanOrchestrator.scan(List<Path> roots, CliConfig cliConfig, org.egothor.methodatlas.api.TestDiscoveryConfig discoveryConfig, org.egothor.methodatlas.ai.AiSuggestionEngine aiEngine, org.egothor.methodatlas.emit.TestMethodSink sink, org.egothor.methodatlas.emit.ClassificationOverride override, AiResultCache aiCache, org.egothor.methodatlas.command.CredentialTriageContext secretCtx) Scans every configured root likeScanOrchestrator.scan(List, CliConfig, TestDiscoveryConfig, AiSuggestionEngine, TestMethodSink, ClassificationOverride, AiResultCache), additionally folding credential triage into each per-class AI call whensecretCtxis supplied, so the class source is sent to the provider once for both classification and triage.Constructors in org.egothor.methodatlas.command with parameters of type AiResultCacheModifierConstructorDescriptionAiRuntime(org.egothor.methodatlas.ai.AiOptions options, org.egothor.methodatlas.ai.AiSuggestionEngine engine, org.egothor.methodatlas.emit.ClassificationOverride override, AiResultCache cache) Creates an instance of aAiRuntimerecord class.ApplyTagsCommand(CliConfig cliConfig, org.egothor.methodatlas.api.TestDiscoveryConfig discoveryConfig, org.egothor.methodatlas.ai.AiSuggestionEngine aiEngine, org.egothor.methodatlas.emit.ClassificationOverride override, AiResultCache aiCache, PluginLoader pluginLoader, ScanOrchestrator scanOrchestrator) Creates a new apply-tags command.GitHubAnnotationsCommand(CliConfig cliConfig, org.egothor.methodatlas.api.TestDiscoveryConfig discoveryConfig, org.egothor.methodatlas.ai.AiSuggestionEngine aiEngine, org.egothor.methodatlas.emit.ClassificationOverride override, AiResultCache aiCache, ScanOrchestrator scanOrchestrator) Creates a new GitHub Annotations command.JsonCommand(CliConfig cliConfig, org.egothor.methodatlas.api.TestDiscoveryConfig discoveryConfig, org.egothor.methodatlas.ai.AiSuggestionEngine aiEngine, org.egothor.methodatlas.emit.ClassificationOverride override, AiResultCache aiCache, PluginLoader pluginLoader, ScanOrchestrator scanOrchestrator) Creates a new JSON command.SarifCommand(CliConfig cliConfig, org.egothor.methodatlas.api.TestDiscoveryConfig discoveryConfig, org.egothor.methodatlas.ai.AiSuggestionEngine aiEngine, org.egothor.methodatlas.emit.ClassificationOverride override, AiResultCache aiCache, ScanOrchestrator scanOrchestrator) Creates a new SARIF command.ScanCommand(CliConfig cliConfig, org.egothor.methodatlas.api.TestDiscoveryConfig discoveryConfig, org.egothor.methodatlas.ai.AiSuggestionEngine aiEngine, org.egothor.methodatlas.emit.ClassificationOverride override, AiResultCache aiCache, PluginLoader pluginLoader, ScanOrchestrator scanOrchestrator) Creates a new scan command. -
Uses of AiResultCache in org.egothor.methodatlas.evidence
Constructors in org.egothor.methodatlas.evidence with parameters of type AiResultCacheModifierConstructorDescriptionEvidencePackCommand(CliConfig cliConfig, EvidencePackOptions packOptions, org.egothor.methodatlas.api.TestDiscoveryConfig discoveryConfig, org.egothor.methodatlas.ai.AiSuggestionEngine aiEngine, org.egothor.methodatlas.emit.ClassificationOverride override, AiResultCache aiCache, ScanOrchestrator orchestrator) Creates a new evidence-pack command.