in internal/core/corescan/context.go [266:329]
func (b ContextBuilder) Build() Context {
return Context{
analyser: b.Analyser,
id: b.Id,
ideDir: b.IdeDir,
effectiveConfigurationDir: b.EffectiveConfigurationDir,
prod: b.Prod,
qodanaUploadToken: b.QodanaUploadToken,
projectDir: b.ProjectDir,
repositoryRoot: b.RepositoryRoot,
resultsDir: b.ResultsDir,
configDir: b.ConfigDir,
logDir: b.LogDir,
qodanaSystemDir: b.QodanaSystemDir,
cacheDir: b.CacheDir,
reportDir: b.ReportDir,
coverageDir: b.CoverageDir,
onlyDirectory: b.OnlyDirectory,
_env: b.Env,
disableSanity: b.DisableSanity,
profileName: b.ProfileName,
profilePath: b.ProfilePath,
runPromo: b.RunPromo,
baseline: b.Baseline,
baselineIncludeAbsent: b.BaselineIncludeAbsent,
saveReport: b.SaveReport,
showReport: b.ShowReport,
port: b.Port,
_property: b.Property,
script: b.Script,
failThreshold: b.FailThreshold,
commit: b.Commit,
diffStart: b.DiffStart,
diffEnd: b.DiffEnd,
forceLocalChangesScript: b.ForceLocalChangesScript,
reversePrAnalysis: b.ReversePrAnalysis,
analysisId: b.AnalysisId,
_volumes: b.Volumes,
user: b.User,
printProblems: b.PrintProblems,
generateCodeClimateReport: b.GenerateCodeClimateReport,
sendBitBucketInsights: b.SendBitBucketInsights,
skipPull: b.SkipPull,
fullHistory: b.FullHistory,
applyFixes: b.ApplyFixes,
cleanup: b.Cleanup,
fixesStrategy: b.FixesStrategy,
noStatistics: b.NoStatistics,
cdnetSolution: b.CdnetSolution,
cdnetProject: b.CdnetProject,
cdnetConfiguration: b.CdnetConfiguration,
cdnetPlatform: b.CdnetPlatform,
cdnetNoBuild: b.CdnetNoBuild,
clangCompileCommands: b.ClangCompileCommands,
clangArgs: b.ClangArgs,
analysisTimeoutMs: b.AnalysisTimeoutMs,
analysisTimeoutExitCode: b.AnalysisTimeoutExitCode,
jvmDebugPort: b.JvmDebugPort,
globalConfigurationsDir: b.GlobalConfigurationsDir,
globalConfigurationId: b.GlobalConfigurationId,
customLocalQodanaYamlPath: b.CustomLocalQodanaYamlPath,
qodanaYamlConfig: b.QodanaYamlConfig,
}
}