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 AiResultCache
    Modifier and Type
    Method
    Description
    AiResultCache.empty()
    Returns an empty cache that always produces misses.
    AiResultCache.load(Path csvPath)
    Loads a cache from a MethodAtlas CSV output file.
  • Uses of AiResultCache in org.egothor.methodatlas.command

    Modifier and Type
    Method
    Description
    AiRuntimeBuilder.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 the cache record component.
    Methods in org.egothor.methodatlas.command with parameters of type AiResultCache
    Modifier and Type
    Method
    Description
    void
    ScanOrchestrator.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 in byClass and populates tagsToApply and displayNames with the results for methods that are security-relevant.
    boolean
    ScanOrchestrator.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 configured TestDiscovery providers on root, merges their results, orchestrates AI analysis per class, and forwards each method record to sink.
    int
    ScanOrchestrator.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 to sink.
    Constructors in org.egothor.methodatlas.command with parameters of type AiResultCache
    Modifier
    Constructor
    Description
     
    AiRuntime(org.egothor.methodatlas.ai.AiOptions options, org.egothor.methodatlas.ai.AiSuggestionEngine engine, org.egothor.methodatlas.emit.ClassificationOverride override, AiResultCache cache)
    Creates an instance of a AiRuntime record 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.