Skip to content

Commit 32bac21

Browse files
committed
fix: add return_type attribute to FunctionToOptimize and enhance Java function discovery
1 parent 04b0dbd commit 32bac21

3 files changed

Lines changed: 255 additions & 203 deletions

File tree

codeflash/languages/java/discovery.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ def discover_functions_from_source(
104104
is_method=method.class_name is not None,
105105
language="java",
106106
doc_start_line=method.javadoc_start_line,
107+
return_type=method.return_type,
107108
)
108109
)
109110

0 commit comments

Comments
 (0)