Skip to content

Commit 913e9f1

Browse files
Rangeet PanRangeet Pan
authored andcommitted
add call for entry point detection code
1 parent dd00eca commit 913e9f1

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

cldk/analysis/java/java.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,14 @@ def get_variables(self, **kwargs):
8383
raise NotImplementedError(f"Support for this functionality has not been implemented yet.")
8484

8585
def get_service_entry_point_classes(self, **kwargs):
86-
raise NotImplementedError(f"Support for this functionality has not been implemented yet.")
86+
if self.analysis_backend in [AnalysisEngine.CODEQL, AnalysisEngine.TREESITTER]:
87+
raise NotImplementedError(f"Support for this functionality has not been implemented yet.")
88+
return self.get_entry_point_classes()
8789

8890
def get_service_entry_point_methods(self, **kwargs):
89-
raise NotImplementedError(f"Support for this functionality has not been implemented yet.")
91+
if self.analysis_backend in [AnalysisEngine.CODEQL, AnalysisEngine.TREESITTER]:
92+
raise NotImplementedError(f"Support for this functionality has not been implemented yet.")
93+
return self.get_service_entry_point_methods()
9094

9195
def get_application_view(self) -> JApplication:
9296
"""

0 commit comments

Comments
 (0)