We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
source_code
1 parent e4ea5f5 commit aecf4a7Copy full SHA for aecf4a7
cldk/analysis/java/codeanalyzer/codeanalyzer.py
@@ -67,7 +67,10 @@ def __init__(
67
self.eager_analysis = eager_analysis
68
self.analysis_level = analysis_level
69
self.target_files = target_files
70
- self.application = self._init_codeanalyzer(analysis_level=1 if analysis_level == AnalysisLevel.symbol_table else 2)
+ if self.source_code is None:
71
+ self.application = self._init_codeanalyzer(analysis_level=1 if analysis_level == AnalysisLevel.symbol_table else 2)
72
+ else:
73
+ self.application = self._codeanalyzer_single_file()
74
# Attributes related the Java code analysis...
75
if analysis_level == AnalysisLevel.call_graph:
76
self.call_graph: nx.DiGraph = self._generate_call_graph(using_symbol_table=False)
0 commit comments