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 MethodAtlas CSV output file. -
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.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.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.